Forums / Templates, Stylesheets, Page Layout / Changet Title On Homepage

Changet Title On Homepage

Locked

Views: 1,563

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Oct 2006, 9:27 PM
#1
affinityjeff avatar

affinityjeff

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

Changet Title On Homepage

How can I change the title that appears on my homepage?

28 Oct 2006, 9:40 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changet Title On Homepage

What title??

in the page?
in the browser?
or what?

Zen-Venom Get Bitten

28 Oct 2006, 9:48 PM
#3
affinityjeff avatar

affinityjeff

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

Re: Changet Title On Homepage

I want to change the title tag on the home page so it doesn't read, "Zen Cart!, The Art of E-commerce".

Thanks.

28 Oct 2006, 10:10 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changet Title On Homepage

find includes/languages/english.php and make a copy an place it in a folder you create for your template at includes/languages/your_template_name/english.php
and
includes/languages/english/meta_tags.php copy to
includes/languages/english/your_template_name/meta_tags.php

Edit these files replacing the text (red highlighted) and insure that the single quotes remain:
english.php

//define('SITE_TAGLINE', 'The Art of E-commerce'); 

meta_tage.php

define('TITLE', 'Zen Cart!'); 

Zen-Venom Get Bitten

28 Oct 2006, 10:45 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Changet Title On Homepage

Um ... that's incorrect.

You can set it all in your **/includes/languages/english/YOURTEMPLATE/meta_tags.php **file:

// page title
define('TITLE', 'Zen Cart!');

// Site Tagline
define('SITE_TAGLINE', 'The Art of E-commerce');

Do not touch the english.php file for these settings. The // at the beginning of lines indicates they are deactivated and likely should be set elsewhere. In this case, that's the meta_tags.php file.

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

28 Oct 2006, 11:27 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changet Title On Homepage

Thanks DrByte:

Was doing from failing memory::oops:

Zen-Venom Get Bitten