Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Posts
    17
    Plugin Contributions
    0

    Default Add external links to category menu

    I've searched high and low on this forum and I can't find anything with information on how to add external links to the category menu. Can someone please point me in the right direction? I am wasting hours searching for this information.
    Also, please tell me where the file is that needs to be edited. I have seen many posts that say edit tpl_categories.php, but they don't say where that file is, and I can't find it. It's like trying to find a needle in a hay stack.

    URL is http://orchidfreak.com/store. Using 1.3.9h.

    Thank you!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Add external links to category menu

    If it's just a matter of finding that file, all files which begin with tpl_ are found in includes/templates/template_default/templates, includes/templates/template_default/sideboxes or includes/templates/template_default/common. The file you mentioned is in the sideboxes folder.

    After editing it would go in the corresponding folder in your custom template.

  3. #3
    Join Date
    Feb 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: Add external links to category menu

    Well I guess one reason I couldn't find it is because the name is tpl_modules_categories_tabs.php, but thank you for that.

    So, how can I go about adding external links to this.....I don't know PHP. I've tried adding this, and it works, except I don't know how to get rid of the contact us, without breaking it. Basically I don't want to call anything from the store, I want to link to pages in the main site.

    <?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
    <li><a href="http://orchidfreak.com/company.html">Our Company</a></li>

    Can you help me with that at all?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Add external links to category menu

    I'm not sure if understand exactly what you're trying to do, but if you want links to other-than-Zencart pages to appear in the header in that position, turn off the #navCatTabs in Admin - Configuration - Layout Settings and create EZ pages that use External Links to the desired pages, activating them in the header.

    Understand that if your visitors are logged in and stay off the Zencart portion of the site long enough, they will lose their session and any items in their carts.

    It's generally a better idea to make Zencart your whole site, using EZ pages for non-store content.

  5. #5
    Join Date
    Feb 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: Add external links to category menu

    I don't want to turn them off completely, I just want to add links there. The site was already built and ZenCart was added later after another designer botched the initial shopping cart, so redoing the whole site is not going to happen.

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

    Default Re: Add external links to category menu

    Since you only have four product categories, it would be easiest to turn categories-tabs off and use the ez-pages top navbar, as suggested. You can make ez-page links to your categories as well as the external links you want, all in the same navbar.

 

 

Similar Threads

  1. add external links in the "important links" side box
    By rabbitnutrition in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jan 2012, 07:32 AM
  2. Nothing is working: trying to add external link to header menu
    By keyelement66 in forum Customization from the Admin
    Replies: 3
    Last Post: 2 Feb 2011, 03:28 PM
  3. Category and Product Pages Not Secure/(Saved as External Links?)
    By elyssa in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 20 Aug 2009, 04:13 PM
  4. Category that links to an external URL
    By Stew-Dee-Oh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Apr 2009, 02:19 PM
  5. How to add external links?
    By mooncavecrystals in forum General Questions
    Replies: 5
    Last Post: 4 Sep 2006, 06:38 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