Email Protector

Email not showing in modal

4 months 4 days ago #78081

Thomas Thrane's Avatar Thomas Thrane

Hi

Seems like Email Protector isn't working inside a modal:
frank.thrane.nu/

See section Upassende > Salgsbetingelser
At the end I have placed an email, but it's not showing?

4 months 4 days ago #78082

Peter van Westen's Avatar Peter van Westen Admin

Try opening the modal in iframe mode:

{modal url="your/url" iframe="true"}
Or switch on the option in Modals plugin settings to open links in iframe mode by default.

If you lose the templates styling when opening the modal via the iframe mode, see:
www.regularlabs.com/extensions/modals#th...-the-correct-styling

4 months 4 days ago #78083

Thomas Thrane's Avatar Thomas Thrane

Thanks, but same result.

4 months 4 days ago #78084

Peter van Westen's Avatar Peter van Westen Admin

You have some html entities messing up the {modal} tag syntax.
Switch to the html view in your editor and fix:

{modal url="index.php/salgsbetingelser"  iframe="true" width="80%" height="50%"}
To:
{modal url="index.php/salgsbetingelser" frame="true" width="80%" height="50%"}