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
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
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.
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.
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.
Bookmarks