Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Location
    Toulouse - France
    Posts
    112
    Plugin Contributions
    0

    Default How to modify the display order of the Informations sidebox links?

    How to modify the display order of the Informations sidebox links?

  2. #2
    Join Date
    Nov 2007
    Location
    Toulouse - France
    Posts
    112
    Plugin Contributions
    0

    Default Re: How to modify the display order of the Informations sidebox links?

    It's impossible?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: How to modify the display order of the Informations sidebox links?

    Sideboxes have two parts:
    /includes/modules/sideboxes
    /includes/templates/template_default/sideboxes

    You need to copy the one you need changed, not all of them, to your templates and overrides directories:
    /includes/modules/sideboxes/your_template_dir
    /includes/templates/your_template_dir/sideboxes

    and then you can customize them ...

    Somethings, like changing the order of the Information sidebox is done in the module file while other changes may be done in the template ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Jun 2008
    Posts
    331
    Plugin Contributions
    0

    help question Re: How to modify the display order of the Informations sidebox links?

    Quote Originally Posted by Ajeh View Post
    Sideboxes have two parts:
    /includes/modules/sideboxes
    /includes/templates/template_default/sideboxes

    You need to copy the one you need changed, not all of them, to your templates and overrides directories:
    /includes/modules/sideboxes/your_template_dir
    /includes/templates/your_template_dir/sideboxes

    and then you can customize them ...

    Somethings, like changing the order of the Information sidebox is done in the module file while other changes may be done in the template ...
    Is this correct also when I just want to remove a link from the information sidebox?

    For example, I would like to "turn off" the Discount Coupon link. I would like to do so in a way that it would be easy for me (or the store admin) to turn it on again when I decide to provide this feature. I looked at includes/modules/sideboxes/information.php and it seems that this can be controlled via the admin console?
    PHP Code:
      // only show Discount Coupon FAQ when installed
      
    if (DEFINE_DISCOUNT_COUPON_STATUS <= && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {
        
    $information[] = '<a href="' zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' BOX_INFORMATION_DISCOUNT_COUPONS '</a>';
      } 
    Is my observation correct? If so, where do I find the DEFINE_DISCOUNT_COUPON_STATUS option in the admin console?

    Thanks,
    Daniel

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: How to modify the display order of the Informations sidebox links?

    Instead of touching the code, just remove the Discount Coupons in the Modules ... Order Totals ... Discount Coupons ot_coupon ... by clicking on that and clicking REMOVE ... then the link will not show ...

    If you want to use Discount Coupons but want to remove the link, look in the Configuration ... Define Status ...
    Enable the Defined Discount Coupon Link/Text?
    0= Link ON, Define Text OFF
    1= Link ON, Define Text ON
    2= Link OFF, Define Text ON
    3= Link OFF, Define Text OFF
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Jun 2008
    Posts
    331
    Plugin Contributions
    0

    Default Re: How to modify the display order of the Informations sidebox links?

    Linda, thank you so much for your reply. As you can see, it is very confusing for a newbie to Zen Cart like me to know (or remember) which feature is controllable via the Admin Console and which part must utilize the Override System.

    Thank you again - your tips are very helpful.

    Daniel

  7. #7
    Join Date
    Jun 2008
    Posts
    331
    Plugin Contributions
    0

    Default Re: How to modify the display order of the Informations sidebox links?

    Some update: I tried to disable the Discount Coupons module via Modules > Order Total. This can't be done - there is only one radio button, always checked on true.

    So, I used your other suggested method to remove the link from the Information Sidebox:
    Configuration > Define Page Status:
    > Define Discount Coupon: 3 (OFF, OFF)
    Now, I would like to remove the link for Gift Certificate FAQ. Is there a way to accomplish this via the Admin Console?

    Thanks,
    Daniel

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: How to modify the display order of the Informations sidebox links?

    If you click on the Discount Coupon ot_coupon and click REMOVE it will not be installed ...

    If you click on the Gift Certificates ot_gv and click on REMOVE then it will not be installed either ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Jun 2008
    Posts
    331
    Plugin Contributions
    0

    Default Re: How to modify the display order of the Informations sidebox links?

    Quote Originally Posted by Ajeh View Post
    If you click on the Discount Coupon ot_coupon and click REMOVE it will not be installed ...

    If you click on the Gift Certificates ot_gv and click on REMOVE then it will not be installed either ...
    OMG - how could have I been so blind? Yes, now I see it (duh!)

    BTW, using the previous method to remove the Discount Coupon from the Information Sidebox:
    Configuration > Define Page Status:
    > Define Discount Coupon: 3 (OFF, OFF)
    The link was indeed removed from the sidebox, but not from the site map. Is this a bug or have I missed something (again)?

    Also, if I uninstall a module, is it easy to install it back? As easy as clicking an [+install] button without having to download the module separately, uploading it to my web site, etc.?


    Thanks!
    Daniel

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: How to modify the display order of the Informations sidebox links?

    If not using the Discount Coupons, do remove them ...

    As to the Link that is not setup the same way on the Site Map ... it used the fact it is installed or not:
    PHP Code:
    <?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
                <li><?php echo '<a href="' zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' BOX_INFORMATION_DISCOUNT_COUPONS '</a>'?></li>
    <?php ?>
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. How to modify left side box category links ONLY
    By ckline in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Feb 2008, 07:23 PM
  2. How to modify the top menu links
    By cadarilondon in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Aug 2007, 12:02 PM
  3. Modify lower navigation bar links
    By Lisa in Vermont in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Aug 2007, 06:07 PM
  4. Replies: 1
    Last Post: 11 Jun 2007, 05:33 PM
  5. Modify top links (EZpages :: Privacy Notice...
    By kp14 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 May 2007, 01:46 AM

Bookmarks

Posting Permissions

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