Search
Other Modals questions
Forum

iframe modal CSS issues

Finn Williams's Avatar Finn Williams
Hello in Netherlands ... I am trying to put a contact form from JD Simple Contact Form in a modal, it gives me problems to get it work properly, I add iframe to that modal, then it works! But how do I get it to load the site's CSS files, or can I add / set a custom css file for the iframe modal?

Best regards Ulric
Peter van Westen's Avatar Peter van Westen ADMIN
If you lose the templates styling when opening the modal via the iframe mode, see:
docs3.regularlabs.com/modals/faqs
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
Fantastic ... thanx 👍
Finn Williams's Avatar Finn Williams
Hello in Holland ?
I use RL modal in my footer on the multilingual site knudsenkilen.dk/en/ (see the green recycling mark on the right). when i use an article and tag views it works. but not with a Category blog view. What am I doing wrong?

knudsenkilen.dk/en/counselling/events (works article)
knudsenkilen.dk/en/assignment-types (works tag)
knudsenkilen.dk/en/counselling/instructions (fail to load blog)

Best regards Ulric
Peter van Westen's Avatar Peter van Westen ADMIN
Not sure. Maybe something weird with the URL routing on your site.
Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
Here you go!
Confidential information:
(hidden)

It is in all languages ​​when the menu item is set to display a Category in Blog view
Regards Ulric
Peter van Westen's Avatar Peter van Westen ADMIN
In what module do you have these {modal} tags?
And can you also provide the (s)FTP credentials?
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
in modules search for footer 4 modules in 4 languages

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
When I visit the website now:
406 Security Incident Detected
Your request was blocked.
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
And what does that mean? "406 Not Acceptable"
Peter van Westen's Avatar Peter van Westen ADMIN
Your site for some reason temporarily blocked me. You might want to look into that....

Anyway, Modals asks the Joomla core article router to create a non-SEF URL for the article.
That returns:
index.php?option=com_content&view=article&id=241&catid=66&lang=en-GB
That URL works.

It then passes that through the Joomla core router to create a SEF URL, which results in:
/en/counselling/instructions/knudsen-and-the-environment
That URL doesn't work for whatever reason.

I have no idea what is causing Joomla to render a non-working SEF URL. But this is outside the control of Modals.
So either some bug in Joomla or something not quite right in your setup.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
See if you can get it to work by simply using the URL attribute instead of the article attribute.
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
See you are logged in to the backend. and not Bloked.
Extremely strange that only menu items set to category blog view do not work?

What exactly do you mean by using "See if you can get it to work by simply using the URL attribute instead of the article attribute." i the footer modal code?

{snippet index.php?option=com_content&view=article&id=241&catid=66&lang=en-GB}???
Peter van Westen's Avatar Peter van Westen ADMIN
We're talking about Modals here, not Snippets.
{modal url="…"}
instead of
{modal article="123"}
Please post a rating at the Joomla! Extensions Directory
Finn Williams's Avatar Finn Williams
Sorry it's because that RL modal is defined in the RL snippet, I understand ... thanks for your time and support. I will try it out 🙂
Best regards Ulric
Finn Williams's Avatar Finn Williams
The footer modals got a new category, it did not work, tried with {modal url = "…"} it did not work on Category blog view either. But when they were assigned a hidden menu item, it worked. 🙂
Peter van Westen's Avatar Peter van Westen ADMIN
Yeah, when articles have their own (hidden) menu items, it is a lot more stable. I guess Joomla gets confused with the active category in some weird cases.
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