Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove primary section in title bar?

Remove primary section in title bar?

Locked

Views: 1,235

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
23 Jun 2009, 9:41 PM
#1
garrettxvx avatar

garrettxvx

New Zenner

Join Date:
Jun 2009
Posts:
9
Plugin Contributions:
0

Remove primary section in title bar?

Can't find the answer anywhere.

How do I remove the primary section that appears in the title bar reflecting what category the customer is in or what product they are viewing. I'd rather it just say "Store Name, Tagline" for every page.

EDIT: And if I ever wanted to make it so that section appeared AFTER the store name, how would I do that?

24 Jun 2009, 10:57 AM
#2
craigcclltd avatar

craigcclltd

New Zenner

Join Date:
Jun 2009
Posts:
14
Plugin Contributions:
0

Re: Remove primary section in title bar?

garrettxvx:

Can't find the answer anywhere.

How do I remove the primary section that appears in the title bar reflecting what category the customer is in or what product they are viewing. I'd rather it just say "Store Name, Tagline" for every page.

EDIT: And if I ever wanted to make it so that section appeared AFTER the store name, how would I do that?

you could try the header php file.......? more info bit confused what u mean.

24 Jun 2009, 11:33 AM
#3
diverpeter avatar

diverpeter

New Zenner

Join Date:
May 2008
Posts:
35
Plugin Contributions:
0

Re: Remove primary section in title bar?

I think you are talking about the title area right, let me give you with the answer when I am back to my desktop (as I am on the road now).

24 Jun 2009, 12:09 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Remove primary section in title bar?

There are some switches in Admin - Catalog - Product Types - Edit Layout.

24 Jun 2009, 4:56 PM
#5
garrettxvx avatar

garrettxvx

New Zenner

Join Date:
Jun 2009
Posts:
9
Plugin Contributions:
0

Re: Remove primary section in title bar?

I don't believe any of those do what I want.

Sorry for the bad explanation of what I want. For instance, I have a product category called "Hardwood" and a product within that category called "Solid Plugs." When a customer clicks the category, the title bar reads "Hardwood : Store Name - Tagline." When a customer clicks the product, the title bar reads "Solid Plugs - $20 : Store Name - Tagline." The same happens with any page other than Home. The "Contact Us" page title bar reads "Contact Us : Store Name - Tagline."

How do I remove the "Hardwood : " and "Solid Plugs - $20 : " and "Contact Us : " in the title bar?

24 Jun 2009, 6:33 PM
#6
diverpeter avatar

diverpeter

New Zenner

Join Date:
May 2008
Posts:
35
Plugin Contributions:
0

Re: Remove primary section in title bar?

Hi, I am back, I promise you to write something for you earlier.

In short, you are looking for the meta_tags.php file that can be located in the language and modules folder of the Zen cart.

I had written more in my blog, I hope it will help you out a little.

In the case I am not writing what you needed. Please let me know, I will try to find a way out for you.

24 Jun 2009, 7:23 PM
#7
garrettxvx avatar

garrettxvx

New Zenner

Join Date:
Jun 2009
Posts:
9
Plugin Contributions:
0

Re: Remove primary section in title bar?

I didn't really find what I was looking for. It may be in includes/modules/meta_tags.php, but I have no idea which lines to edit so that the only thing that ever shows in the title bar is "Store Name - Tagline."

26 Jun 2009, 12:35 PM
#8
diverpeter avatar

diverpeter

New Zenner

Join Date:
May 2008
Posts:
35
Plugin Contributions:
0

Re: Remove primary section in title bar?

ok, if you are looking for a way to keep the title at the header as "Store Name - Tagline."

Look for the lines started with "define('META_TAG_TITLE'" and replace the whole line of codes with "define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE : '' ));", there should be a few that you needed to replace.

1 Jul 2009, 4:04 AM
#9
garrettxvx avatar

garrettxvx

New Zenner

Join Date:
Jun 2009
Posts:
9
Plugin Contributions:
0

Re: Remove primary section in title bar?

Thanks! That helped a ton! =D