Search
Other Modals questions
Forum

Modals working erratically

Gonzalo Heredia's Avatar Gonzalo Heredia
Hi, I have Joomla 3.10.11 with modals 11.10.1 pro installed.
I have assigned to a custom button a custom login form that it must be opened on a modal window.
Sometimes open the modal window but other times open the form on a normal page.
Could be something related with the cache? I have installed JCH Optimized Pro.
Please let me know if you know about this issue.
TIA
Peter van Westen's Avatar Peter van Westen ADMIN
What do you mean with 'custom button'?
Did you use the {modal} tags to create a link styled like a button?
Or are you using an actual <button> element?
Please post a rating at the Joomla! Extensions Directory
Gonzalo Heredia's Avatar Gonzalo Heredia
Sorry for my bad explanation. The custom button it's an <a></a> tag with classes to show as button.
Im using {modal url="menu item"}{/modal}
TIA
Peter van Westen's Avatar Peter van Westen ADMIN
Could be cache.

Do you have this online so I can take a look?
Please post a rating at the Joomla! Extensions Directory
Gonzalo Heredia's Avatar Gonzalo Heredia
Yes!
Confidential information:
(hidden)
. Click on the button scoring enquires and on the next screen you will find the button ADM Login.
TIA.
Peter van Westen's Avatar Peter van Westen ADMIN
You have another modal script running on your website that is conflicting with Modals.
Slimbox is loaded by the com_fabrik.
Please post a rating at the Joomla! Extensions Directory
Gonzalo Heredia's Avatar Gonzalo Heredia
How can I solve the problem?
TIA
Peter van Westen's Avatar Peter van Westen ADMIN
Well, you cannot use these 2 modal scripts on the same page. As they are trying to do the same thing and conflicting with each other.

You can try to change the modal class in the Modals system plugin settings. Maybe that prevents Slimbox from trying to handle the Modals links.
Or see if you can disable Slimbox in Fabrik.
Please post a rating at the Joomla! Extensions Directory
Gonzalo Heredia's Avatar Gonzalo Heredia
Could you please explain to me how can I change the modal class in the Modals system plugin settings?
TIA
Peter van Westen's Avatar Peter van Westen ADMIN
Ah, sorry, ignore that. That option no longer exists and shouldn't matter anyway.
Modals gives its links the class "modal_link".
So not sure why Slimbox is causing errors for that modal.
I recommend you ask Fabrik about this.

If you check your browser error console, you can see a bunch of errors when you open the modal.
All that is outside the control of Modals.
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