Title not showing on Index Page and Shopping Cart Page
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Title not showing on Index Page and Shopping Cart Page
Hi Dear;
I am using 1.0.8.14;
For some strange reason the Page title is not showing on the Index Page, Login Page and Shopping Cart Page etc..
It shows on the Categories and Product pages though....
Can you please guide me what the issue may be;
I turned of Header Tags SEO Pages too , to see if that is the cause still no avail.
I am really confused as not able to debug it..
Please can you guide me where the problem may be...
Thank you in advance;
Warm Regds./
radhavallabh
I am using 1.0.8.14;
For some strange reason the Page title is not showing on the Index Page, Login Page and Shopping Cart Page etc..
It shows on the Categories and Product pages though....
Can you please guide me what the issue may be;
I turned of Header Tags SEO Pages too , to see if that is the cause still no avail.
I am really confused as not able to debug it..
Please can you guide me where the problem may be...
Thank you in advance;
Warm Regds./
radhavallabh
- burt
- Core Team
- Posts: 4551
- 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: Title not showing on Index Page and Shopping Cart Page
I have just tested in 1.0.8.14;
1. Turn ON "SEO - Pages" Header Tag module.
2. Make sure that your language file(s) contain the needed data, eg https://github.com/CE-PhoenixCart/Phoen ... ex.php#L25
With both of these correct, the title shows as so;
1. Turn ON "SEO - Pages" Header Tag module.
2. Make sure that your language file(s) contain the needed data, eg https://github.com/CE-PhoenixCart/Phoen ... ex.php#L25
With both of these correct, the title shows as so;
You do not have the required permissions to view the files attached to this post.
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.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Title not showing on Index Page and Shopping Cart Page
Hi dear;burt wrote: ↑Tue May 24, 2022 8:30 am I have just tested in 1.0.8.14;
1. Turn ON "SEO - Pages" Header Tag module.
2. Make sure that your language file(s) contain the needed data, eg https://github.com/CE-PhoenixCart/Phoen ... ex.php#L25
With both of these correct, the title shows as so;
Noname.jpg
Thank you that fixed the Index page error,
But the login.php, shopping_cart.php, checkout pages still do not show any title dear...
Please can you help me with those too....
Thank you very much for guiding me;
Very Warm Regds./
radhavallabh
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Title not showing on Index Page and Shopping Cart Page
I'm not sure that I understand what you changed on the index page. Perhaps a language define? (As that's where Burt pointed you.) Have you tried changing the same kind of thing on the login, etc. pages? E.g. https://github.com/CE-PhoenixCart/Phoen ... in.php#L13
If you don't have the TITLE things set, then it's unsurprising that the page titles aren't getting set.
If you don't have the TITLE things set, then it's unsurprising that the page titles aren't getting set.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Title not showing on Index Page and Shopping Cart Page
Hi dear;ecartz wrote: ↑Tue May 24, 2022 9:56 am I'm not sure that I understand what you changed on the index page. Perhaps a language define? (As that's where Burt pointed you.) Have you tried changing the same kind of thing on the login, etc. pages? E.g. https://github.com/CE-PhoenixCart/Phoen ... in.php#L13
If you don't have the TITLE things set, then it's unsurprising that the page titles aren't getting set.
I have all the core language defines in place as per you shared dear; I cross checked all core files again thoroughly and there is no change to them.
I switched on the Header Tags SEO Page module as per suggested by dear@burt , that did allow the Index page to show the title.
But the other core pages other than the Categories, Product and Info pages still have the same issue showing the link instead of the Title.
Hope you could guide me understand of why is this issue arising dear...
I am getting really confused...
Thank you in advance;
Warm Regds./
radhavallabh
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Title not showing on Index Page and Shopping Cart Page
Hi dear @ecartz @burtradhavallabh wrote: ↑Tue May 24, 2022 10:06 amHi dear;ecartz wrote: ↑Tue May 24, 2022 9:56 am I'm not sure that I understand what you changed on the index page. Perhaps a language define? (As that's where Burt pointed you.) Have you tried changing the same kind of thing on the login, etc. pages? E.g. https://github.com/CE-PhoenixCart/Phoen ... in.php#L13
If you don't have the TITLE things set, then it's unsurprising that the page titles aren't getting set.
I have all the core language defines in place as per you shared dear; I cross checked all core files again thoroughly and there is no change to them.
I switched on the Header Tags SEO Page module as per suggested by dear@burt , that did allow the Index page to show the title.
But the other core pages other than the Categories, Product and Info pages still have the same issue showing the link instead of the Title.
Hope you could guide me understand of why is this issue arising dear...
I am getting really confused...
Thank you in advance;
Warm Regds./
radhavallabh
I also checked the demo dear it only shows the Store Page title on pages like shopping_cart.php , login.php, checkout etc.
It does not show the following title for the page.
For example on login page
It shows 'CE Phoenix Cart Demo' when I hover over the tab bar but does not add the Nav Title from language file- 'Login' added to it.
For me the problem is it is not calling the default title itself showing links instead-- it does call the Meta SEO override title for the index page only.
So am willing to fix this along with adding the titles of the pages that the customer is on....
I would like to mention I have not deleted the 1.0.8.13 version files mentioned is that causing any issue with the title not fetching?
Please your help will be deeply appreciated dear;
Thank you in advance;
Very Warm Regds./
radhavallabh
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Title not showing on Index Page and Shopping Cart Page
https://github.com/CE-PhoenixCart/Phoen ... sh.php#L36
And admin > Configuration > My Store > Store Name
The old versioned files should not matter so long as you have the new ones.
And admin > Configuration > My Store > Store Name
The old versioned files should not matter so long as you have the new ones.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Title not showing on Index Page and Shopping Cart Page
Hi dear;ecartz wrote: ↑Tue May 24, 2022 11:25 am https://github.com/CE-PhoenixCart/Phoen ... sh.php#L36
And admin > Configuration > My Store > Store Name
The old versioned files should not matter so long as you have the new ones.
I checked the STORE_NAME is being pulled in cm-footer-contact-us.php correctly.
But not in the page titles...
I tried changing the STORE_NAME to actual store name still page titles do not get affected...
Your help will be deeply appreciated dear in helping me fix it....;
Very Warm Regds./
radhavallabh
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Title not showing on Index Page and Shopping Cart Page
Hi dear @ecartz @burt ;ecartz wrote: ↑Tue May 24, 2022 11:25 am https://github.com/CE-PhoenixCart/Phoen ... sh.php#L36
And admin > Configuration > My Store > Store Name
The old versioned files should not matter so long as you have the new ones.
I tried again it seems the function $Template->get_title() is not working on my store
I wrote this on template_top.php(copied to override) and it fetched the const TITLE on all pages correctly fixing the issue-
Code: Select all
<title><?= htmlspecialchars($Template->get_title()), TITLE ?></title>Extremely Sorry for troubling you so much....
Thank you in advance..
Very Warm Regds./
radhavallabh
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Title not showing on Index Page and Shopping Cart Page
Are you missing https://github.com/CE-PhoenixCart/Phoen ... .sql#L1139
You'd have to check the hooks table in the database to see. Or maybe admin > Modules > Hooks
You'd have to check the hooks table in the database to see. Or maybe admin > Modules > Hooks