Forums / General Questions / How to change the 'Page 2' name under More Information?

How to change the 'Page 2' name under More Information?

Started by rschultz on 7 Mar 2011, 12:25 AM · Views: 2,153

Results 1 to 5 of 5
7 Mar 2011, 12:25 AM
#1
rschultz avatar

rschultz

New Zenner

Join Date:
Mar 2011
Location:
SoCal
Posts:
23
Plugin Contributions:
0

How to change the 'Page 2' name under More Information?

So far, I have been able to set most of the cart up using this forum. But, I cannot find out how to (under More Information) change the name Page 2 to something like Bearing Info, Page 3 to Products Review, etc.

I found Page 2 and edited the information inside of the php file. That seems to drive the information on the actual page itself. But, I want to change the name Page 2 to something more descriptive.

Also, is it possible to add more 'pages' than just the 3 defaults given?

Thanks in advance!

7 Mar 2011, 12:51 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: How to change the 'Page 2' name under More Information?

https://www.zen-cart.com/tutorials/index.php?article=242

And:

To clone for example page 2 to page 5 you must:

Create/clone these as page_5
/includes/modules/pages/page_2/header_php.php
/includes/languages/english/page_2.php
/includes/templates/template_default/templates/tpl_page_2_default.php

Add/edit these to include page_5
/includes/modules/sideboxes/more_information.php
/includes/languages/english.php
/includes/filenames.php

Create define_page_5.php in both of these folders
/includes/languages/html_includes
/includes/languages/html_includes/your_template

This should net you a generic page_5 in the "More Information" sidebox
You can then begin using this in your overrides areas

THAN YOU HAVE TO ADD RECORD TO DATABESE TABLE CONFIGURATION (clone it from page 2).

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(540, 'Define Page 5', 'DEFINE_PAGE_5_STATUS', '1', 'Enable the Defined Page 5 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 84, '2010-12-18 09:33:51', '2010-12-18 09:33:51', NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(541, 'Define Page 6', 'DEFINE_PAGE_6_STATUS', '1', 'Enable the Defined Page 6 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 84, '2010-12-18 09:33:51', '2010-12-18 09:33:51', NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

7 Mar 2011, 12:59 AM
#3
rschultz avatar

rschultz

New Zenner

Join Date:
Mar 2011
Location:
SoCal
Posts:
23
Plugin Contributions:
0

Re: How to change the 'Page 2' name under More Information?

Hi, Thanks,
Yes, I saw that article, but it just changes the resultant page Navbar and Heading title, not the 'Page 2' name in the More Information box. At least that is what I see happening. I just double checked the file and attached a screenshot.

Top view is Page_2.php
Left still shows Page 2 in More Info box
Right shows results from Page_2.php change

The page_2.php seems to drive the resultant page and does not seem to change the name of Page 2 in the More Information window.

Am I doing something wrong?

7 Mar 2011, 3:11 PM
#5
rschultz avatar

rschultz

New Zenner

Join Date:
Mar 2011
Location:
SoCal
Posts:
23
Plugin Contributions:
0

Re: How to change the 'Page 2' name under More Information?

Thanks Kobra.
I think I will try it.