Search
Other Modals questions
Forum

Image won't open in Modals for Joomla 4

Remco Bouwens's Avatar Remco Bouwens
Hi Peter,

Does the code I have to use for Modals 12.3.6PRO for Joomla 4 has changed compared to the J3 version of modals? Image won't load.

Best,
Remco

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I recommend you use the {modalcontent} tags instead:
{modal content="vakantiesluiting" title="VAKANTIESLUITING" open="once" autoclose="30000"}{/modal}
{modalcontent vakantiesluiting}
<p>Wegens vakantie ...</p>
<p><img ... /></p>
{/modalcontent}

See: docs4.regularlabs.com/modals/content/inline-content
Please post a rating at the Joomla! Extensions Directory
Remco Bouwens's Avatar Remco Bouwens
Thanks Peter!

I've missed the inline-content tutorial when searching the Modals documentation. Has the code been changed since Joomla 4?

Best,
Remco
Peter van Westen's Avatar Peter van Westen ADMIN
There was also a {modalcontent} tag in the Joomla 3 version:
docs3.regularlabs.com/modals/content/inline-content
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