Urls will be opened in iframe mode.
to make the page - after logging in - to load in the main window, then you would have to make the form post to the target _parent or _top.
We now have a login with a menu item single article with this code as menu button: [[modal width="300" height="320" ]]Inloggen[[/modal]]
And we have a module with this code: [[modal theme="dark" width="300" height="320" article="Inloggen"]]Inloggen[[/modal]]
Both still do the same, not closing the pop-up and loading the website in the modal.
Please have a look:
Hi Peter, sorry to interrupt you but after migrate my site to Joomla 4 and updated all the extensions and plugins to J4 the problem that I have with modals is that I'm using modals to open a login form and after a successful login the modal window doesn't close as on J3 and the site is displayed inside the modal window.
This is the code I'm using: {modal url="index.php?Itemid=223" class="btn-ssl btn-block-ssl"}{source}[[?php echo JText::_('LOGIN');?]]{/source}{/modal}
I read the article you sent previously in your first answer but I can't understand what to do to fix this issue in J4.
Could you please guide me?
TIA,
Gonzalo.