Search
Other Modals questions
Forum

Modals different in joomla 4

maarten elens's Avatar maarten elens
Hi,

I have updated some sites to joomla 4 and installed the new modals plugin for joomla 4.
However, the output of the modals in the new version is different from the code i have put in the old version.
It looks not the same. There is a black background to the pop-up and the images are not loaded.
The box has a different size.

How do I fix this without having to go true every pop-up again?
Is it not possible to have the new version do the same thingas as the old version?

Thanks for you reply.

Regards

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Correct. Models for Joomla 4 is different.
See: docs4.regularlabs.com/modals/getting-sta...m-joomla3-to-joomla4
And read the documentation.
Please post a rating at the Joomla! Extensions Directory
maarten elens's Avatar maarten elens
Hi Peter,

why is my html not working?
It seems to be supported in the new version.

Regards
Peter van Westen's Avatar Peter van Westen ADMIN
Use the modalcontent tags for complex inline html:
docs4.regularlabs.com/modals/content/inline-content
Please post a rating at the Joomla! Extensions Directory
maarten elens's Avatar maarten elens
I think I have.

{modal width="600px"

html="
<a href="#actie">
<img src="images/acties/1-maand-gratis-5.jpg" alt="1 maand GRATIS"/></a>
<p align="center">
<a title="1 maand GRATIS" class="el-content uk-button uk-button-secondary" href="#actie">voordeeltarief 50% korting op e-bikes </a> <br><br><span class="uk-text-meta">Vraag bovendien jouw gratis 10-beurtenkaart om te parkeren op Park H</span>" auto_titles="false" open="true" autoclose="8000"}

{/modal}
Peter van Westen's Avatar Peter van Westen ADMIN
No, that is not using the {modalcontent} tags.
Try:
{modal width="600" content="maand-actie" open="true" autoclose="8000"}{/modal}

{modalcontent id="maand-actie"}

<a href="#actie"><img src="images/acties/1-maand-gratis-5.jpg" alt="1 maand GRATIS"/></a>
<p align="center">
<a title="1 maand GRATIS" class="el-content uk-button uk-button-secondary" href="#actie">voordeeltarief 50% korting op e-bikes </a><br><br><span class="uk-text-meta">Vraag bovendien jouw gratis 10-beurtenkaart om te parkeren op Park H</span>
</p>

{/modalcontent}
Please post a rating at the Joomla! Extensions Directory
maarten elens's Avatar maarten elens
Oke, so I have to rewrite all of them.
Peter van Westen's Avatar Peter van Westen ADMIN
That would be my advice.
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