Re: How to change the 'Page 2' name under More Information
https://www.zen-cart.com/tutorials/i...hp?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!
Bookmarks