Forums / Customization from the Admin / move page 2 to information sidebox

move page 2 to information sidebox

Locked

Views: 4,330

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 May 2006, 4:31 PM
#1
shopjackiesjewels avatar

shopjackiesjewels

Zen Follower

Join Date:
Apr 2006
Posts:
120
Plugin Contributions:
0

move page 2 to information sidebox

how do i move page 2 from the more information sidebox to the information sidebox (You know the sidebox that has the links shipping& returns, contact, etc.)

10 May 2006, 5:29 PM
#2
clydejones avatar

clydejones

Deceased

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

Re: move page 2 to information sidebox

Locate the two files: information.php and more_information.php in modules -> sideboxes -> your_override_folder

copy the following from the more_information.php
if (DEFINE_PAGE_2_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
}
and change it to:
if (DEFINE_PAGE_2_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
}
Now copy the changed file into the information.php file.

Hope this helps

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Nov 2007, 1:36 AM
#4
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Re: move page 2 to information sidebox

Ah, excellent! Thanks clydejones!

Now I need to figure out how to make the sort order for the "Information" categories the same in the Site Map as I have set it in the Information sidebox. Tomorrow...

Cheers,
chrx

13 Nov 2007, 8:05 PM
#5
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Re: move page 2 to information sidebox

Alas, a few minutes copying...
includes/templates/template_default/templates/tpl_site_map_default.php
...into my CUSTOM template directory...

Then re-ordering the tags in...
includes/templates/CUSTOM/templates/tpl_site_map_default.php
... to my desired order did the trick. Now the Site Map ordering matches the "Information" sidebox order.

Cheers,
chrx