![]() |
Limit Manufactures list in the menu not in admin.
I have 2 Manufactures Menus in my store.
First is List of all manfactured which is set to 20 in admin, and the other one is the same except it uses icons for each brand instead of text and I want to set it to display only 10. Here is my menu_manufactures_icon.tpl Code:
{* $Id: menu_manufacturers.tpl,v 1.4 2004/06/22 05:38:52 max Exp $ *} Thank you. -------------------- X-Cart Gold 4.0.16 |
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} with this: Code:
{section name=mid loop=$manufacturers_menu max=10} http://smarty.php.net/manual/en/language.function.section.php Hope this helps... |
Yeah it worked.
Thanks a lot cbarnes :D |
All times are GMT -8. The time now is 06:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.