Jump to content

Getting my home categories


Wittner

Recommended Posts

Hi,

 

I've just upgraded to version 1.4 from 1.2.2 and (almost) everything worked out perfectly. In my old theme I had this code in header.tpl to pull out a list of category headings to create a custom horizontal navigation and it worked fine.

 

Code:

<ul id="horizontal_navi">
  {foreach from=$navHeaders key=navId item=nav}
  <li><a href="{$nav.id_category}-{$nav.name}" title="Our range of {$nav.link_rewrite} gifts">{$nav.name}</a></li>
  {/foreach}
</ul>

 

Now the code seems to have been deprecated and it produces nothing.

 

Can anyone point me in the right direction as to how to get the home categories in the header.tpl in version 1.4 or is there a whole 'nuther' way of doing this now. Any help appreciated as my site is offline while I do this and I really don't want to have to go back to the old backups for Monday morning!!!

 

cheers,

 

Wittner

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...