Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Modifying Information Sidebar

    Hello,

    just a quick question.

    can anyone tell me how to change the Information sidebar. i'd like to remove discount coupons and gift certificate faq from the list and add a couple of new links.

    thanks

    ric

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Modifying Information Sidebar

    To remove The links - turn off the modules in Admin> Modules> Order Totals.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Modifying Information Sidebar

    Thanks for the reply Kim,

    i've removed the unwanted links from the information sidebar. i was wanting to add a couple of my own links to this sideabr, do you know if there's a way of doing that?

    ric

  4. #4

    help question Re: Modifying Information Sidebar

    I have a similar question.

    I'd like my links & their content in the Information sidebox and the More Information sidebox to be grouped by concept rather than have links for two concepts split between the two side boxes (as they currently are).

    This will involve swapping three of the links (and their content) currently residing in the Information sidebox with the three blank links in More Information sidebox, and then using those three blank ones to add content of my choice.

    Example: Information sidebox to be used strictly for "Our Policies" and More Information sidebox to be used for "Helpful Info". To see a visual of the current set up in order to understand what I want to change (i.e. group links by concept), go to http://www.empowermentsanctuary.com/marketplace/

    Is there a way to accomplish this?

    Thanks in advance for the assistance

  5. #5
    Join Date
    Jul 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Modifying Information Sidebar

    to remove the Gift Certificate FAQ or any other information sidebox links ONLY, go to:

    includes/modules/sideboxes/YOUR-TEMPLATE/information.php

    and remove the whole :

    " if {DEFINE...... } " of the sections you want to remove

  6. #6

    Default Re: Modifying Information Sidebar

    Thanks!

    So if I want to swap links between the Info and More Info boxes, I simply need to go into each file and copy/paste from one to the other?

    I suspected that would be the answer. I guess what I want to be sure of is if that's all I have to do.

    In other words, are there any additional files that would be affected by this change and in need of modifications of their own?

    If someone could answer that for me, that would be awesome

    Thanks in advance

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Modifying Information Sidebar

    One uses:
    $more_information[]

    and the other uses:
    $information[]

    Be sure to update that and you should be able to switch them around without a problem ...

    NOTE: be sure to use your templates and overrides for this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8

    Default Re: Modifying Information Sidebar

    Awesome! Thanks Linda~!

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Modifying Information Sidebar

    Thanks for the update that this was able to help you sort out the sideboxes to rearrange them ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10

    help question Re: Modifying Information Sidebar

    hmmm...somehow I screwed something up.

    I followed the instructions above and it worked like a charm, except for one thing. One of the links no longer works, but oddly enough, it wasn't one of the links that I moved.

    The code from includes/modules/sideboxes/barebones/information.php is:

    unset($information);

    if (DEFINE_PRIVACY_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
    }
    if (DEFINE_CONDITIONS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
    }

    if (DEFINE_PAGE_3_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>';
    }
    if (DEFINE_PAGE_4_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
    }
    if (DEFINE_PAGE_2_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
    }
    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
    }
    The string in red is for the link that's broken.

    The only change I made to that link was to rename it in
    includes/languages/barebones/english.php, and that code is:

    // information box text in sideboxes/information.php
    define('BOX_HEADING_INFORMATION', 'Our Policies');
    define('BOX_INFORMATION_SHIPPING', 'Refunds & Returns');
    define('BOX_INFORMATION_PRIVACY', 'Privacy Policy');
    define('BOX_INFORMATION_CONDITIONS', 'Terms of Service');
    define('BOX_INFORMATION_PAGE_2', 'Disclaimers');
    define('BOX_INFORMATION_PAGE_3', 'Copyright Usage');
    define('BOX_INFORMATION_PAGE_4', 'Images & Graphics');
    The link, as far as I know, worked fine before I made these changes, yet these changes don't seem like they'd affect the functionality of that particular link.

    The Conditions of Use page setting is set to 'on' in the Admin.

    Can someone help me diagnose the issue?

    Thanks in advance :)
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Resizing Information Sidebar text
    By sweetharvey in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jul 2009, 07:29 AM
  2. Information sidebar links...
    By bhuether in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Sep 2008, 07:18 AM
  3. Information Box on Sidebar
    By Treece in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Aug 2008, 09:04 PM
  4. add image to information sidebar
    By amacole in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 May 2008, 10:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg