Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / TITLE at the beginning of my page title

TITLE at the beginning of my page title

Started by brandonturpin on 28 Dec 2011, 8:41 PM · Views: 911

Results 1 to 7 of 7
28 Dec 2011, 8:41 PM
#1
brandonturpin avatar

brandonturpin

Zen Follower

Join Date:
Dec 2008
Location:
Utah, USA
Posts:
183
Plugin Contributions:
7

Post #1 by brandonturpin

I have looked everywhere and all I see is how to change the page title in the meta_tags.php file. Which I did and that title is correct. The problem I am having is something that I changed added the work TITLE to the beginning of each page no matter what the title is after it. And when I log into the admin all it says is "TITLE" There is nothing more than that!

I have looked in every meta_tags.php file and the english.php - index.php and I can not find it anywhere. Looked up TITLE in the Developers Tool Kit and from what it brought up I dont see anywhere that would make it do this.

My domain name is https://www.customprintedorders.com

What can I do to remove this?

**Zen Cart Help and Design**

If you don’t build your dream, someone else will hire you to help them build theirs.

29 Dec 2011, 3:24 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #2 by usernamenone

All editable text can be found in you languages folder

languages>english>meta_tags.php


Play with it long enough and you will break it.
29 Dec 2011, 5:09 AM
#3
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Post #3 by ronlee67

I think you will find that the word "Title" is being picked up here:
In admin, select Catalog -> Categories/Products. For each category there is an action button at the far right column for meta tags. These specify the meta tags for the category page. A similar action button also appears for each specific product within the categories. Is the word "Title" appearing within the Title box? If so, you can remove it.

If that's not the problem, you might want to recheck those meta_tags.php files again and look for misplaced or missing delimiters such as commas, quote marks, etc.

Ron

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

29 Dec 2011, 10:25 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Dec 2011, 4:56 PM
#5
brandonturpin avatar

brandonturpin

Zen Follower

Join Date:
Dec 2008
Location:
Utah, USA
Posts:
183
Plugin Contributions:
7

Post #5 by brandonturpin

Found the problem... Not sure if anyone else will come accross this issue, doubt your dumb enough to do it and not be able to figure it out.. but just in case here you go.

In the meta_tags.php file I had changed the line

// page title
define('TITLE', 'CustomPrintedOrders.com');

to

// page title
define('CustomPrintedOrders.com', 'CustomPrintedOrders.com');

I just changed the first part back to TITLE which then defined the title and changed it. Mistake on my half!

**Zen Cart Help and Design**

If you don’t build your dream, someone else will hire you to help them build theirs.

29 Dec 2011, 7:09 PM
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Post #6 by usernamenone

Yes, as you have learned the first part of the define is not to be touched just the part between the ' and '


Play with it long enough and you will break it.
29 Dec 2011, 7:31 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #7 by drbyte

Thanks for posting back what the error was in your changes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.