Search
Other Advanced Module Manager questions
Forum

Advanced Module Manager causes issue with Tassos Marinos Smilepack

Adam Bennett's Avatar Adam Bennett
Using Tassos Marinos' Smilepack to make a Gallery has worked well until recent Regular Labs Updates. Working with Tassos, we found that it appears to be the latest version of Advanced Module Manager (10.0.26 PRO) that is interfering. Once it is installed, any attempt to add a picture to the Smile Pack Gallery causes duplicate copies to be added, and on the website, the image won't show (just the description). We have a test site set up if you need it.

Tassos' recommendation:

You could also let Peter from Regular Labs know of this and see if they can take a quick look to see if they can identify any issues on their end.

On the technical side, which Peter may find helpful, is that the issue should be related to the hook that triggers before and after saving the module, i.e. the onExtensionBeforeSave & onExtensionAfterSave methods.

Tassos
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Adam Bennett's Avatar Adam Bennett
Installed AdvancedModuleManager v10.0.27-dev-3011766-PRO. No difference in the behavior.
Installed RegularLabsExtensionmanager v9.0.2-dev29949911 next. Still no difference in the behavior.
Peter van Westen's Avatar Peter van Westen ADMIN
The Regular Labs extensions don't do anything (anymore) on onExtensionBeforeSave and onExtensionAfterSave.

Can you ask Tassos to backtrack from the point where it saves the image a second time, to which Regular Labs plugin (and file and line) triggers that save event?
Please post a rating at the Joomla! Extensions Directory
Adam Bennett's Avatar Adam Bennett
I have set up a test site for Tassos, with only JCE Editor, Smilepack, and Regular Labs (Extension Mgr, Advanced Module Manager) installed.

If you like, I can set you up as a Super user.

Tassos reply:
Within /modules/mod_spgallery/fields/modspgallery.php, Peter can find both methods called "onExtensionBeforeSave" and "onExtensionAfterSave".

-j.
Peter van Westen's Avatar Peter van Westen ADMIN
Within /modules/mod_spgallery/fields/modspgallery.php, Peter can find both methods called "onExtensionBeforeSave" and "onExtensionAfterSave".
So those are the methods in Smilepack. The question is: what triggers those duplicate times?
And can Tassos track that down to the Regular Labs extensions?

Like I said: There is nothing in the Regular Labs extensions that specifically triggers the onExtensionBeforeSave or onExtensionAfterSave, apart from the standard stuff on saving a module (which is also done in the Joomla core module manager).
Please post a rating at the Joomla! Extensions Directory
Adam Bennett's Avatar Adam Bennett
Tassos was finally able to replicate the issue, and identified the issue in SmilePack. The Gallery Module was not saving properly when used alongside Regular Labs Advanced Module Manager.

He has issued a development release that resolves this issue.

Thank you for your time and input on this one.
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
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