Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how to change home page title?

how to change home page title?

Locked

Views: 13,107

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Dec 2007, 11:36 PM
#1
photogold avatar

photogold

New Zenner

Join Date:
Jan 2006
Posts:
27
Plugin Contributions:
0

how to change home page title?

I HAVE JUST UPGARDED MY SITE https://WWW.CASTLEPICTURES.COM TO THE LATEST VERSION OF ZENCART . How do I chnage my home page title ?

26 Dec 2007, 5:52 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: how to change home page title?

includes/languages/english/YOUR_TEMPLATE/meta_tags.php

26 Dec 2007, 11:22 PM
#3
elsshells avatar

elsshells

New Zenner

Join Date:
Nov 2007
Posts:
12
Plugin Contributions:
0

Re: how to change home page title?

Can I just say I love these forums?!?!?! I was wondering the same thing, and appreciate your answer! I was able to go in and make this change soooo easily!

:-)
El

27 Dec 2007, 5:47 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: how to change home page title?

We're here to help. :smile:

To create a very basic custom template (you can build from there), you need:

  • includes/languages/YOUR_TEMPLATE/english.php
  • includes/languages/english/YOUR_TEMPLATE/index.php
  • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
  • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
  • includes/templates/YOUR_TEMPLATE/template_info.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  • includes/templates/YOUR_TEMPLATE/images/logo.gif
  • includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

28 Dec 2007, 12:58 AM
#5
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

Re: how to change home page title?

afo:

We're here to help. :smile:

To create a very basic custom template (you can build from there), you need:

  • includes/languages/YOUR_TEMPLATE/english.php
  • includes/languages/english/YOUR_TEMPLATE/index.php
  • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
  • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
  • includes/templates/YOUR_TEMPLATE/template_info.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  • includes/templates/YOUR_TEMPLATE/images/logo.gif
  • includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

Where would I look to see what I can and can't change on those files you listed, or what woul be possible?

28 Dec 2007, 4:20 AM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: how to change home page title?

meknownowt:

Where would I look to see what I can and can't change on those files you listed, or what woul be possible?

It depends on what you want to do. You definitely can't remove the copyright information at the top of any of the files (this information isn't displayed to the public at any time). Zen Cart is pretty hard to break. If you make a mistake, you can always replace your file with the original and start again.

The possibilities are pretty much endless depending on your imagination, skill and knowledge. There are a number of free templates in the downloads section (see link at top of page). You can see the templates in action at http://(sorry, site offline)/.

14 Nov 2008, 5:22 PM
#7
gunjubas avatar

gunjubas

New Zenner

Join Date:
Nov 2008
Location:
Ukraine, Dnipropetrovsk
Posts:
1
Plugin Contributions:
0

Re: how to change home page title?

I change this in
/includes/languages/YOU_LANGUAGE/meta_tags.php

In line 24

// NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.

define('HOME_PAGE_TITLE', 'YOU TEXT HERE'); // usually best left blank
:wink:

28 Feb 2009, 6:33 AM
#8
atakam avatar

atakam

New Zenner

Join Date:
Feb 2009
Location:
Los Angeles
Posts:
3
Plugin Contributions:
0

Re: how to change home page title?

I have added the line:
define('HOME_PAGE_TITLE', 'MY_OWN_HOME_PAGE_TITLE');
into: /includes/languages/english/YOUR_TEMPLATE/meta_tags.php
:clap: