View Single Post
  #7  
Old 09-13-2006, 10:36 PM
 
justme justme is offline
 

Member
  
Join Date: Jul 2004
Location: Western New York State, USA
Posts: 28
 

Default Re: 2 Main Category Sections...how?

Quote:
Originally Posted by shan
set the pos field on categories for section 1 below say 500 and section 2 above 500 then within the categories loop do something like

Code:
{section name=cat_num loop=$categories} {if $categories[cat_num].order_by < 500} blah blah {/if} {/section}

then create a new tpl for categories2 with similar code but > 500

now include the new categories2 tpl file below the std one in home.tpl

This is just what I was looking for! Thanks!

What is the code for a categories3 box, such as
{if $categories[cat_num].order_by > 300 but <500}

I've been searching, so far I haven't found what works.

Thanks in advance for your help.
Reply With Quote