Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Altering the Information Sidebox

    Very new to Zen Cart. The information sidebox is showing up where I want it, but I want a whole different set of links there. So my question is:

    1. How do I rename/repoint links in the information sidebox and
    2. If there's an easier way (like doing it in the More Information sidebox), I'm all ears...

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Altering the Information Sidebox

    Most extensible control would be to use the "Important Links" side box that is ALL ezpage links.
    All current definepage links can be created as an ezpage "internal link" and any others can be created/added.

    Important Links can be re-titled to Information or some other title you prefer
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Altering the Information Sidebox

    Gotcha. I'll give it a shot. Thanks!

  4. #4
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Altering the Information Sidebox

    Wow, I'm such a noob. Okay, so I added the sidebox and was able to retitle it using an override in the languages folder.

    But I can't seem to find the file that has the list of links.

    Here is my site (it's the "Highland Links" sidebox): http://highlandisland.com.previewdns.com/zencart/

    I found a tpl_ezpages.php file, but it contains the following:

    <?php
    /**
    * Side Box Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_ezpages.php 2982 2006-02-07 07:56:41Z birdbrain $
    */
    $content = "";
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    $content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
    for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {
    $content .= '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n" ;
    } // end FOR loop
    $content .= '</ul>' . "\n";
    $content .= '</div>';
    ?>

    Not sure where to look at this point.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Altering the Information Sidebox

    From the address bar when navigating to links in your "information" side box - grab the last part of the link as:
    Code:
    index.php?main_page=shippinginfo
    index.php?main_page=privacy
    These are the "internal link" addresses
    In your admin > tools > ezpages > insert a new page and add the "internal link" for this page - configure where the page will be and in this case the side box.
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Altering the Information Sidebox

    Great. Works perfect, thank you. One last question (though I doubt that's true)...

    How do I know what my center column width is? I know in my layout settings I can set the values for left and right columns, but I would like to know the center value so I can design images/tables accordingly. I assume it's in the template settings somewhere, not sure where to look. Thanks again!

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Altering the Information Sidebox

    The center column width is set by the #mainWrapper width minus the sidebar (#navColumnOne & #navColumnTwo) widths.
    If #mainWrapper is fixed width, you can design for a fixed center column. If it is a percent width, you will have a variable center. Be sure to allow for whatever margins and padding exist in the various containers down the line.

  8. #8
    Join Date
    Sep 2009
    Location
    Atlanta, Georgia
    Posts
    36
    Plugin Contributions
    0

    help question Re: Altering the Information Sidebox

    I just added EZ pages and included "EZ pages in sitemap" - Thanks, Mick!

    With the override system, where do I have to delete pages in the information sidebox, since I replaced them in external links?

    http://ip-192.com/cart/

 

 

Similar Threads

  1. v151 rearrange (and delete some of) the pages in the Information Sidebox?
    By CookieMonster in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2013, 10:58 PM
  2. Moving an EZ-Page SideBox link to the Information SideBox?
    By JonathonB in forum General Questions
    Replies: 23
    Last Post: 22 Feb 2012, 08:16 PM
  3. How do I edit the layout (not content!) of the Information sidebox??
    By gaffettape in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Jun 2009, 01:09 PM
  4. Altering Search sidebox to work with EZ pages only
    By ctcentralinfo in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 2 Sep 2008, 03:50 AM
  5. Altering Information Box
    By parmaham in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 Mar 2007, 04:14 AM

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