Replies: 2 comments 2 replies
This comment was marked as spam.
This comment was marked as spam.
-
Yes, I know. And AI. But I liked the explanation. Very good for documentation :) Or learning English. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because this is in login.php
if(!defined('e_IFRAME')) define('e_IFRAME',true);
login page doesn't have a header or footer and the user needs to use the back button to get to the homepage or any page. They often close the page because it can look like a modal window.
Years ago was this way recommended as fix: add to theme.php
if (e_PAGE == "login.php") define('e_IFRAME', false);
Now it fails in PHP 8.2. because not defined e_PAGE.
Is there another way like this?
if ( defined('e_PAGE') && e_PAGE == "login.php") define('e_IFRAME', false);
This should be theme developer stuff, not core one.
At least all splash pages (login, signup, password forgotten) should have the same logic in this and the same way of templating (to cover both version of site - general and only members)
Thanks
Beta Was this translation helpful? Give feedback.
All reactions