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

    Default combine Product / NavCat and EZpages?

    Is there a way that I can combine the Product Categories and EZ pages into the same menu?

    I cant be the only person that just wants a simple menu with all their stuff in it, can I?

    Thanks, ad

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

    Default Re: combine Product / NavCat and EZpages?

    Anything is probably possible. Practical? Maybe maybe not. But you are looking for someone to try it out and then tell you how to do it... that may not happen. You may have to roll up your sleves and attempt it yourself or post an ad in the Commercial Help Wanted section.
    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
    Jan 2006
    Posts
    54
    Plugin Contributions
    0

    Default Re: combine Product / NavCat and EZpages?

    would it be easier to just hard code the menu into the template?

    also, i cant find the commercial section...only the archived one...

    Thanks.

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

    Default Re: combine Product / NavCat and EZpages?

    If anyone cares:

    I modified the tpl_modules_categories_tabs.php file to read:

    <?php
    /**
    * Module Template - categories_tabs
    *
    * Template stub used to display categories-tabs output
    *
    * @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_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
    */

    include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
    ?>
    <?php if (CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1) { ?>
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
    <li><?php echo $links_list[$i];?> |</li>
    <?php } ?>


    <?php } ?>
    <?php
    /**
    * Page Template
    *
    * Displays EZ-Pages Header-Bar content.<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 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_bar_header.php 3377 2006-04-05 04:43:11Z ajeh $
    */

    /**
    * require code to show EZ-Pages list
    */
    include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
    ?>
    <?php if (sizeof($var_linksList) >= 1) { ?>

    <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
    <li> <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?></li>
    <?php } // end FOR loop ?>
    </ul></div></div>
    <?php } ?>

    Worked nicely.

 

 

Similar Threads

  1. Combine product "image" and "text" links into one - SEO help!
    By blackhalo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 Jul 2008, 10:14 PM
  2. product listing: combine and output labels before combined data values
    By molywerks in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Jun 2008, 10:47 PM
  3. 4 attributes per product, but need to combine them as 2 and 2
    By tqualizer in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 May 2008, 12:36 PM
  4. HOW TO: Combine Manufacturer and Model field info in product listings
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Oct 2007, 03:05 PM
  5. Changing a NavCat Tab's color on selection.
    By RichardF in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Aug 2006, 05:55 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