New Zenner
- Join Date:
- Aug 2006
- Location:
- Manchester, UK
- Posts:
- 36
- Plugin Contributions:
- 0
Information side box in header
I know, I know. The title does not make a lot of sense!
I would like the links displayed in the information sidebox in the header instead of the category links.
So I edit /includes/templates/MY_TEMPLATE/templates/tpl_modules_categories_tabs.php to have the content of /includes/modules/sideboxes/tpl_information.php. eg
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 } ?>
</ul>
</div>
</div>
<?php } ?>
becomes just:
<div id="navCatTabsWrapper">
<div id="navCatTabs">
<ul>
<?php
for ($i=0; $i<sizeof($information); $i++) {
echo '<li>' . $information[$i] . '</li>';
}
?>
</ul>
</div>
</div>
But of course all I get is an empty unordered list. I guess that's because $information is null or perhaps empty. How do I fill it? Where does the information sidebox get it's information from?
Cheers, D.