Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Editing title and other edits

Editing title and other edits

Locked

Views: 1,233

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Jun 2006, 10:55 PM
#1
ron_williams avatar

ron_williams

New Zenner

Join Date:
Jun 2006
Posts:
1
Plugin Contributions:
0

Editing title and other edits

Hello, I'm trying to edit the title and Sales Message Goes Here message on my site. Additionally I would like to edit the "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution."

How do I do this. Thanks. Also, are there any screenshots for templates available here?

28 Jun 2006, 11:15 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Editing title and other edits

How do I change the "sales message goes here"/"TagLine Here" text?

In order to add your own "sales text", changes will have to be made in includes -> languages -> English (or YOUR LANGUAGE) -> header.php.
Open the file in a text editor and find the following line of code:

define('HEADER_SALES_TEXT', 'TagLine Here');

Make your changes to the text highlighted in red. Save the file and copy it to the includes -> languages -> English (or YOUR LANGUAGE) -> YOUR_TEMPLATE folder and upload it to your server.


How do I change Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution?

look in includes -> languages -> english -> index.php and find this:

// This section deals with the "home" page at the top level with no options/products selected
/Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
}

change the portions in red to whatever you want.


How do I change or turn off "Welcome Guest" message?

To turn off the Customer Greeting go to your admin -> configuration -> layout settings -> Customer Greeting - Show on Index Page and set to 0.
If you want to have your own customized greeting, You will have to make changes in includes -> languages -> English (or YOUR LANGUAGE) -> index.php.
Open the file in a text editor and find the following lines of code:

if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
} else {
define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
}
define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>!');

Make your changes to the text highlighted in red. Save the file and copy it to the includes -> languages -> English (or YOUR LANGUAGE) -> YOUR_TEMPLATE folder and upload it to your server.