Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let look of login.php on theme developers #5076

Open
Jimmi08 opened this issue Sep 16, 2023 · 0 comments
Open

let look of login.php on theme developers #5076

Jimmi08 opened this issue Sep 16, 2023 · 0 comments
Labels
type: enhancement An improvement or new feature request

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Sep 16, 2023

Motivation

Now you need to use e_IFRAME constant in your theme.php what is the workaround for making a standalone login page.

What about to add
$LOGIN_TEMPLATE['page']['iframe'] = FALSE;

and use it this way?

$LOGIN_TEMPLATE = e107::getCoreTemplate('login');

if (isset($LOGIN_TEMPLATE['page']['iframe']))
{
	if ($LOGIN_TEMPLATE['page']['iframe'])
	{

		if (!defined('e_IFRAME')) define('e_IFRAME', true);
	}
	else if (!defined('e_IFRAME')) define('e_IFRAME', false);
}
else if (!defined('e_IFRAME')) define('e_IFRAME', true);

Proposed Solution

the same logic could be use for signup and fpw field.

Thanks

@Jimmi08 Jimmi08 added the type: enhancement An improvement or new feature request label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

1 participant