Login page tweak through templates

Ask the community for help and support.
Post Reply
User avatar
ReneH4
Posts: 154
Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times

Login page tweak through templates

Post 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:
You do not have the required permissions to view the files attached to this post.
burt
Lead Developer
Lead Developer
Posts: 2423
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 49 times
Been thanked: 137 times

Re: Login page tweak through templates

Post by burt »

Good job. The templating system is powerful and fairly easy to use.
All of the templating system is kudos to Matt.
Gamechanger Addon: Queued Emails, try before you buy.
User avatar
ReneH4
Posts: 154
Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times

Re: Login page tweak through templates

Post 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.
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: Login page tweak through templates

Post 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.
heatherbell
VIP Member
VIP Member
Posts: 1996
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 26 times
Been thanked: 175 times

Re: Login page tweak through templates

Post 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
User avatar
ReneH4
Posts: 154
Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times

Re: Login page tweak through templates

Post by ReneH4 »

Ah, in the templates map already, thanks Robert! Changed and woking as I like it.
User avatar
ReneH4
Posts: 154
Joined: Mon Oct 26, 2020 12:00 pm
Has thanked: 12 times
Been thanked: 17 times

Re: Login page tweak through templates

Post 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.
Post Reply