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 of Homepage reads Zen Cart! How do I change it to my Domain Name?

Title of Homepage reads Zen Cart! How do I change it to my Domain Name?

Locked

Started by samueljongyou on 30 Sep 2008, 3:34 PM · Views: 2,284

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Sep 2008, 3:34 PM
#1
samueljongyou avatar

samueljongyou

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Post #1 by samueljongyou

Hi, I was wondering how do you configure your title of your homepage to your domain name.

Example. When I enter my url link in the broswer, my webpage shows however the homepage tab it still reads Zen-Cart!. please help me how to fix that thank you

30 Sep 2008, 4:17 PM
#2
afo avatar

afo

Totally Zenned

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

Post #2 by afo

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

30 Sep 2008, 4:22 PM
#3
skyegospel avatar

skyegospel

New Zenner

Join Date:
Aug 2008
Location:
Isle of Skye, Scotland
Posts:
92
Plugin Contributions:
0

Post #3 by skyegospel

Hi there. I am new at this and had looked into the same thing. This seems to work:

You need to alter the meta_tags.php file which is cound under includes/languages/english

You will find the relevant lines of code as there (the underlined words are where I have replaced the Zen Cart wording to my own desired page name):

<?php /** * @package languageDefines * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: meta_tags.php 6668 2007-08-16 10:05:09Z drbyte $ */ // page title define('TITLE', 'Plant Perfection'); // Site Tagline define('SITE_TAGLINE', 'Passionate about Plants!'); I hope that helps, Stuart
30 Sep 2008, 4:25 PM
#4
afo avatar

afo

Totally Zenned

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

Post #4 by afo

PLEASE read the tutorial I posted earlier. If you change includes/languages/english/meta_tags.php without creating an override (template), your changes will be lost with the next upgrade/update.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

30 Sep 2008, 4:34 PM
#5
skyegospel avatar

skyegospel

New Zenner

Join Date:
Aug 2008
Location:
Isle of Skye, Scotland
Posts:
92
Plugin Contributions:
0

Post #5 by skyegospel

Thanks for that Mary Ellen - I posted before I saw your reply, and am glad I have seen it so I can sort that out myself.

Stuart

1 Oct 2008, 2:45 PM
#6
samueljongyou avatar

samueljongyou

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Post #6 by samueljongyou

HI,

Thank You for your fast response, however im having difficulty finding the source includes/language/english/meta_tags.php

Which option is it under. it says text editor, but i have no specific section in my zen-program for that category. Can you be alittle more detailed, since i very new to this program, in where i find that.

Thank You

1 Oct 2008, 3:11 PM
#7
afo avatar

afo

Totally Zenned

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

Post #7 by afo

You can't edit that information within Zen Cart.

The best way to do it is to have a copy of Zen Cart unzipped on your local computer. You don't have to be able to run Zen Cart locally, but having the files on your computer creates an "instant backup" of your site.

To edit the files, get a good text editor like Notepad++ or Crimson Editor.

Create the folders you need for your custom template and copy the files you want to change into them.

Edit the files using one of the text editors I suggested (both are free from the internet).

Use an FTP client like Filezilla (also free) to upload the folders/files to your website.

This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):

  • 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 <- may not be necessary
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
  • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
  • 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.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey