Totally Zenned
- Join Date:
- Sep 2008
- Location:
- Cleethorpes
- Posts:
- 1,230
- Plugin Contributions:
- 3
EZ Pages Chapter of links in columns
I want to create three columns of EZ Pages Links in my footer. Each column has to contain links from different chapters and will display on every page in the footer throughout my site.
So column 1 would contain links from chapter 200
column 2 would contain links from chapter 210
column 3 would contain links from chapter 220
I'm aware that you can manually create a link to an EZ Page by doing this <a href="<php echo zen_ez_pages_link(4); ?>">MY LINK NAME</a> but this only displays one EZ Page Link , the subsequent chapter pages do not display underneath.
I've tried a few different variations something like <php echo zen_ez_pages_chapter(200); ?> but this doesn't work.
There is also the code in tpl_ezpages_bar_footer.php which is:
<?php /** * Page Template * * Displays EZ-Pages footer-bar content.<br /> * * @package templateSystem * @copyright Copyright 2003-2010 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_footer.php 15645 2010-03-07 18:17:19Z drbyte $ */ /** * require code to show EZ-Pages list */ include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_footer.php')); ?> <?php if (sizeof($var_linksList) >= 1) { ?> <div id="navEZPagesBottom"><div id="navEZPagesBottomWrapper"><?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?> <?php echo ($i <= $n ? EZPAGES_SEPARATOR_FOOTER : '') . "\n"; ?> <li><a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li> <?php } // end FOR loop ?></div></div> <?php } ?>Could this be modified to only display links from a certain chapter? If so what would I need to add to it? I'm aware this would mean creating a new template for the purpose.