Page 1 of 1

Login page tweak through templates

Posted: Thu Mar 04, 2021 4:02 pm
by ReneH4
Template Powerrrrrrr....

Just a small tweak, I have allways considered the login page a bit of a christmas tree :-) No offence to the developing team.

I copied three files to my template and did a bit of tweaking to them:

tpl_cm_create_account_link.php
tpl_cm_forgot_password.php
tpl_cm_loging_form.php

Now my login screen looks like this:

Re: Login page tweak through templates

Posted: Thu Mar 04, 2021 4:19 pm
by burt
Good job. The templating system is powerful and fairly easy to use.
All of the templating system is kudos to Matt.

Re: Login page tweak through templates

Posted: Fri Mar 05, 2021 7:19 am
by ReneH4
Does the logoff.php page have it's own classes?

I can find the logoff.php file, and I can find the language file.

However, I cannot fine the file that I would have to move to the template map.

Re: Login page tweak through templates

Posted: Fri Mar 05, 2021 7:26 am
by ecartz
You may have already found https://github.com/gburton/CE-Phoenix/b ... logoff.php

Logoff is not modularized. It does not have any includes/modules/content/logoff -- it's just heading, text, and button, all in the same template file.

Re: Login page tweak through templates

Posted: Fri Mar 05, 2021 7:30 am
by heatherbell
ReneH4 wrote: Fri Mar 05, 2021 7:19 am I can find the logoff.php file, and I can find the language file.
However, I cannot fine the file that I would have to move to the template map.
The changes you previously made were for login modules.
logoff.php is a page without modules, but the page can be copied, edited and saved - in this case
from /templates/default/includes/pages/
to /templates/your selected template/includes/pages/
See examples in https://phoenixcart.org/phoenixcartwiki ... a_Template

Re: Login page tweak through templates

Posted: Fri Mar 05, 2021 7:57 am
by ReneH4
Ah, in the templates map already, thanks Robert! Changed and woking as I like it.

Re: Login page tweak through templates

Posted: Fri Mar 05, 2021 10:10 am
by ReneH4
Only now reading your message Matt. Robert also pointed me to this direction.

Thanks!
ecartz wrote: Fri Mar 05, 2021 7:26 am You may have already found https://github.com/gburton/CE-Phoenix/b ... logoff.php

Logoff is not modularized. It does not have any includes/modules/content/logoff -- it's just heading, text, and button, all in the same template file.