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:
Login page tweak through templates
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Login page tweak through templates
Good job. The templating system is powerful and fairly easy to use.
All of the templating system is kudos to Matt.
All of the templating system is kudos to Matt.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- ReneH4
- Contributor
- Posts: 145
- Joined: Mon Oct 26, 2020 12:00 pm
- Phoenix Version:
- Has thanked: 13 times
- Been thanked: 17 times
Re: Login page tweak through templates
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.
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.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Login page tweak through templates
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.
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.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Login page tweak through templates
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
- ReneH4
- Contributor
- Posts: 145
- Joined: Mon Oct 26, 2020 12:00 pm
- Phoenix Version:
- Has thanked: 13 times
- Been thanked: 17 times
Re: Login page tweak through templates
Only now reading your message Matt. Robert also pointed me to this direction.
Thanks!
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.