Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing Page 2,3,4 headers and page title

Changing Page 2,3,4 headers and page title

Locked

Views: 683

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 Jun 2010, 2:48 AM
#1
ajs002004 avatar

ajs002004

New Zenner

Join Date:
Mar 2010
Posts:
10
Plugin Contributions:
0

Changing Page 2,3,4 headers and page title

I can't get the page title to change and header for pages 2,3,4. Here is a page example: http://themanicuredbonsai.com/index.php?main_page=page_2

In the "more information" box I've been able to change the title of the Page 2,3,and 4. Link works fine also. I've used tutorials to help with this, but I must have missed something. So far I have added the page to

/public_html/includes/languages/CUSTOM

// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'More Information');
define('BOX_INFORMATION_PAGE_2', 'Bonsai FAQ');
define('BOX_INFORMATION_PAGE_3', 'Introduction to Bonsai');
define('BOX_INFORMATION_PAGE_4', 'History of Bonsai');

/public_html/includes/languages/english/CUSTOM
added files called:
bonsai_faq.php
history_of_bonsai.php
introduction_to_bonsai.php

All were copied from page_2.php , 3 , and 4 respectively.

Within these files I have made changes to fit the page names.
define('NAVBAR_TITLE', 'Introduction to Bonsai');
define('HEADING_TITLE', 'Introduction to Bonsai');

define('TEXT_INFORMATION', 'Page 3 text goes here.');
?>

Then this part I didn't find in a tutorial but found the pages 2,3,4 so thought I should add my custom pages in there:

/public_html/includes/modules/pages/page_2/header_php.php

I created
/public_html/includes/modules/pages/bonsai_faq/header_php.php

and changed the following information in thse file
FILENAME_DEFINE_bonsai_faq, 'false');

**

What have I missed or done wrong?**

21 Jun 2010, 4:06 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Changing Page 2,3,4 headers and page title

Grab a copy of the about us module that outlines creating additional defines pages based upon the files/edits required for the about us page...
You will find that there are about 8 files/edits required