View Single Post
  #2  
Old 11-08-2005, 07:55 AM
 
cbarnes cbarnes is offline
 

Member
  
Join Date: Oct 2005
Location: Kansas
Posts: 18
 

Default

komarik,

I believe you should be able to use the "max" integer in your {section} loop.

Try replacing this:

Code:
{section name=mid loop=$manufacturers_menu} { if %mid.first% }

with this:

Code:
{section name=mid loop=$manufacturers_menu max=10} { if %mid.first% }

http://smarty.php.net/manual/en/language.function.section.php

Hope this helps...
__________________
Chris Barnes
Ative LLC
X-Cart Development & Consulting
Reply With Quote