what is AMM expected behavior with other modules

Search
Other Pre-Sale questions
Forum

what is AMM expected behavior with other modules

Karen Dunne's Avatar Karen Dunne
Hi Peter,

I am trying AMM J4 for the first time so I installed the free version to check it out. I found that when a condition was added to one "articles category" module type, all other "articles category" module types displayed on all pages and their respective menu assignments were lost. This is a new installation on a new J4 site. AMM was not previously installed.

I realize this sounds like a support question, and I have not purchased it yet. I apologize for this. If possible, all I'd like to know is if this is expected behavior from AMM because I'm trying to assess what will be involved in using AMM on a site.

Karen
Peter van Westen's Avatar Peter van Westen ADMIN
When adding a condition to a module, it is only connected to that module.
Conditions are not attached to module types. But individual modules.

If you attach a single Condition Set to different modules, and then change the Rules of that Condition Set, then that will affect all modules using that Condition Set.

If what you are experiencing is clearly different to this, let me know.
Also check if there are any conditions set on (attached to) the 'other' modules that seem affected.
Please post a rating at the Joomla! Extensions Directory
Karen Dunne's Avatar Karen Dunne
Thank you for your reply, Peter.

I looked at the behavior more deeply and discovered that I was mistaken with my first statement. I thought AMM was doing something with the module type but as you said, it doesn't do that. I confused that with the fact that it was displaying all the modules on all pages, not just a specific module type.

What I can clearly conclude now is that after AMM was installed, the previous menu item assignments for all modules were cleared by AMM and with no condition set, therefore the modules are displaying on all pages. So, an easier question is this: When installing AMM, is it expected behavior that all menu item assignments are lost and must be individually reassigned?
Peter van Westen's Avatar Peter van Westen ADMIN
When installing Advanced Module Manager, the existing menu assignments should get converted to conditions.
If that did not happen, then it looks like something went wrong during installation.
Please post a rating at the Joomla! Extensions Directory
Karen Dunne's Avatar Karen Dunne
Hi Peter,

I tried installing it on another site as a test. I also uninstalled and reinstalled on the original site I was working on.

The same thing occurred -- the original menu assignments did not covert. I thought I might as well tell you even though it's the free version. No need to troubleshoot. It might not be a good solution for the sites I manage, which are built using similar components. Maybe there's a conflict with a component 🤷‍♀️

If you want to see the behavior, I recorded a 2-minute screencast:
www.loom.com/share/2fe41e824bdb4ebeb4f1dfc555a1ea85
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases

You will probably first have to set back your setup to before the installation of Advanced Module Manager, as the conversion will skip any modules that have already been handled.

Or: uninstall Advanced Module Manager and delete these tables from your database:
..._advancedmodules
..._conditions
..._conditions_groups
..._conditions_map
..._conditions_rules
Please post a rating at the Joomla! Extensions Directory
Karen Dunne's Avatar Karen Dunne
Hi Peter,

I uninstalled AMM and deleted the tables. I'm pleased to say that the development version worked. The existing menu assignments converted to AMM. I'm relieved to see this. AMM is a good solution to what my client is trying to accomplish.

In my previous attempts to uninstall and reinstall AMM, I had not deleted the database tables. To be sure that there wasn't an issue with existing tables, I also tried uninstalling AMM, deleting the AMM database tables, and reinstalling the regular version. The regular version did not convert the menu assignments. So whatever is different with the dev version, it worked.

Thank you!

Is the dev version 'safe' to use on a live site?
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.

The dev version currently has nothing experimental. So it is just waiting for a few more successful tests before I'll release it.
Please post a rating at the Joomla! Extensions Directory
Karen Dunne's Avatar Karen Dunne
Hi Peter,

It's been a while (2 months) since we corresponded on this ticket. I see that there is a new version of AMM available so I have a question:

The site is currently using version 9.5.5-dev2507630 that you provided two months ago.

Does version 9.5.7 include the changes that were included in version 9.5.5-dev2507630, and therefore 'safe' to upgrade to it?
Peter van Westen's Avatar Peter van Westen ADMIN
Yes. See the changelogs.
regularlabs.com/advancedmodulemanager/changelog
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in