Search
Other Advanced Module Manager questions
Forum

Funny behaviour Adv. Mod. Manager

Simon Kloostra's Avatar Simon Kloostra
I have a site where modules are displayed in incorrect places. I am not sure when the issue was introduced. I restored backups until nov 1st, and the issue is still there.
The issue is that some modules, which should only display in one menu-item (combined with a rule that they should only display on page-type ArticleBlog) are shown on random other menu-items (including Single Article).
I even deleted a Condition and recreated it, but the issue remains the same.
See the confidential information for details

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I see you are using YOOtheme Builder.
This could be an issue, where it uses its own way to render modules, and decide what should and shouldn't be displayed.

Can you reproduce the issue on a test site not using YOOtheme Builder?
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
This is the only site with the issue. I have some more sites that use Modules with Yootheme content, but none as heavy as this site. Note that I have just 3 sites with AMM installed, so I do not have a lot of reference. I have built this site in a time where dynamic content and Yootheme-templates were not yet built inside Yootheme, and the site is too complex to rebuild.
So far, this always used to work correctly.
Simon Kloostra's Avatar Simon Kloostra
Note that I do not pull the modules inside a Yootheme Builder layout, but they are Builder-Modules simply assigned to a Module-position.
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (s)ftp access so I can take a deeper look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
Sure, just a few minutes.
Simon Kloostra's Avatar Simon Kloostra
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Nope, this doesn't allow me to connect via sftp:
FATAL ERROR: No supported authentication methods available (server sent: publickey)
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
The module list is being passed to the onPrepareModuleList method in Advanced Module Manager, and AMM is filtering it out.
So on the AMM-side all is working.

But it looks like that altered module list is being ignored or overridden by something else.
So my guess would be: YOOtheme Builder

You say that the modules are being rendered through normal module positions.
But the YOOtheme template is using its own stuff for handling module positions.
My advice would be to ask them about this.

Otherwise, try to reproduce this on a simple clean Joomla website with just Advanced Module Manager installed.
And then throw the YOOtheme template in the mix to see if that causes the issues.
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
That would be a pity. Yootheme is a lot slower to respond than you 😉

I performed a quick test though, to see if the issue was indeed inside Yootheme:
I switched the site to use the Cassiopeia template and assigned the Builder module to template position Banner.
The module still displays in the incorrect pages.

As this is a live site, I only tested for a minute and switched back, but this does seem to indicate that the issue is not inside Yootheme, right?
Peter van Westen's Avatar Peter van Westen ADMIN
Could be another plugin then...
And when switching the template, the template plugins are still active.
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
To exclude other extensions, I have moved the site to a dev-site. I completely uninstalled Yootheme and switched to Cassiopeia again. The Builder modules obviously don't display, but I have created a Custom-HTML module using the same Condition as the Builder modules did.

I only use a few extensions on my sites: Akeeba, 4SEO, RSForm, but I also disabled those. So, only core extensions are installed now.

Still, the module shows on the incorrect place.

Correct me if I'm wrong, but this does seem to point to AMM?

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
The admin login doesn't work...
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
Sorry, now it does
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, this seems to be caused by a breaking change (bug) that has been introduced in the latest Joomla 5 release.
They seem to have added faulty checks that reset the module list when no modules should be shown.

I have added some code to work around the issue.
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Simon Kloostra's Avatar Simon Kloostra
Ha, that did the trick!
All fine again, thanks 😉
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription