Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    54
    Plugin Contributions
    0

    Default putting tpl_categories_css.php into tpl_header?

    I want to include the css categories sidebox into my header - so that I can have a dropdown menu.

    I know that it should go into this area:

    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->

    the css sidebox is located at shop/templates/MYTEMPLATE/sideboxes/tpl_categories_css.php


    I just am not sure how to put it into there... any help is appreciated.

    --ad

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

    Default Re: putting tpl_categories_css.php into tpl_header?

    no need to touch the files....go to admin > config > layout settings > Categories-Tabs Menu ON/OFF > set to " 1 "
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2006
    Posts
    54
    Plugin Contributions
    0

    Default Re: putting tpl_categories_css.php into tpl_header?

    But I want the menu to be a dropdown, showing the subcats?

  4. #4
    Join Date
    Feb 2004
    Location
    portsmouth, nh us
    Posts
    119
    Plugin Contributions
    4

    Default Re: putting tpl_categories_css.php into tpl_header?

    is this adam tracksler of kittery?
    "You must be the change you wish to see in the world" - Ghandi

  5. #5
    Join Date
    Feb 2004
    Location
    portsmouth, nh us
    Posts
    119
    Plugin Contributions
    4

    Default Re: putting tpl_categories_css.php into tpl_header?

    I can't directly answer your question in the new version of zencart, but I have integrated the suckerfish menu into 1.2.7 in the past.
    "You must be the change you wish to see in the world" - Ghandi

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: putting tpl_categories_css.php into tpl_header?

    If you do what I suggested in my earlier post and load your site and view source you will find something like this:
    Code:
    <!--eof-header logo and navigation display-->
    
    <!--bof-optional categories tabs navigation display-->
    
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
      <li><a class="category-top" href="http://www.your_domain.com//index.php?main_page=index&amp;cPath=1&amp;zenid=de0654bf9dccfcb3707a78e881887385">Category1 </a> </li>
      <li><a class="category-top" href="http://www.Your_Domain.com/index.php?main_page=index&amp;cPath=2&amp;zenid=de0654bf9dccfcb3707a78e881887385">Category2 </a> </li>
    and others
    Now in your tpl_header.php you can apply the sucker-fish or sons-of-sucker-fish coding to the dynamic creator(s) for these listings.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Putting Weight into packing slip
    By pbaerveldt in forum Managing Customers and Orders
    Replies: 7
    Last Post: 8 Nov 2010, 09:07 PM
  2. So confusing tpl_header.php, header.php... etc..
    By neveu in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2010, 03:20 PM
  3. Inserting Code into tpl_header.php
    By drymetal in forum Templates, Stylesheets, Page Layout
    Replies: 37
    Last Post: 21 Jan 2010, 10:07 AM
  4. Insert Image into Tpl_header.php
    By atheis in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Aug 2008, 06:20 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR