Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 1 match
Smarty Forum Index
Author Message
  Topic: Adding a different class name with foreach
susawx

Replies: 1
Views: 4371

PostForum: General   Posted: Fri Jun 18, 2010 8:25 pm   Subject: Adding a different class name with foreach
HI! I have this code and I want to generate a different class name to the <tr> tag like extra1, extra2, extra3, etc How can I do so?

{* Extra Fields *}
{foreach from=$extrafields item=ex ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP