Forums / Templates, Stylesheets, Page Layout / Moving item from Info Sidebox to More Info Sidebox

Moving item from Info Sidebox to More Info Sidebox

Locked

Started by mlm2005 on 6 Aug 2006, 3:25 AM · Views: 2,663

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Aug 2006, 3:25 AM
#1
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Moving item from Info Sidebox to More Info Sidebox

Hi All,

I'd like to move links from the Information Sidebox to the More Information Sidebox. Basically I would like to group About, Privacy, Terms of Use, and Contact in the Information Sidebox and then group Shipping/Returns, Gift Certificates, Discount Coupons and Site Map in the More Information Box. I would like a third sidebox for primarily external links but I think I can accomplish this via EZ Pages.

How do I move the Shipping/Returns from the Information Sidebox to the More Info Sidebox?

Thanks!

6 Aug 2006, 3:58 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Moving item from Info Sidebox to More Info Sidebox

  1. COPY these two files:
    includes/modules/sideboxes/information.php
    includes/modules/sideboxes/more_information.php
    TO a new folder:
    includes/modules/sideboxes/YOURTEMPLATE

  2. Edit:
    includes/modules/sideboxes/YOURTEMPLATE/information.php
    and COPY this line:```php
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';

and then put two slashes in front of it to disable it: //
Save it and upload to your server.

3. EDIT:
includes/modules/sideboxes/YOURTEMPLATE/more_information.php
under the line that says:
unset($more_information);
just paste from your clipboard:```php
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
```and then edit the beginning of the line to say $more_information instead of just $information:```php
    $more_information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';

Save. Upload. Peek at your browser.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2006, 12:21 PM
#3
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Re: Moving item from Info Sidebox to More Info Sidebox

Hello,

This worked perfectly. I had not looked in the modules folder so missed the sideboxes folder completely. I was looking at a different sideboxes folder but couldn't find anything to change.

Thank you for taking the time to write up a very thorough example!