Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.
www.smarty.net
•
phpinsider.com
•
Forum Index
•
FAQ
•
Search
•
Memberlist
•
Profile
•
Log in to check your private messages
•
Register
•
Log in
Search found 2 matches
Smarty Forum Index
Author
Message
Topic:
Add a counter into foreach
djibi
Replies:
5
Views:
130812
Forum:
Tips and Tricks
Posted: Thu Jul 19, 2012 9:09 am Subject:
Add a counter into foreach
Ok thanks so, what do you think about the code below ?
This code work fine and he write an html table with 4 products by line but, if the number of products is not div by 4 (EX :5 products), it wri ...
Topic:
Add a counter into foreach
djibi
Replies:
5
Views:
130812
Forum:
Tips and Tricks
Posted: Tue Jul 17, 2012 11:49 am Subject:
Add a counter into foreach
Hi,
i'm new with Smarty and i try to do something basic with a foreach loop.
I'll try to add a custom counter in the loop but that don't work ...
Here is my code :
{counter start=1 ...
Page
1
of
1
All times are GMT
Jump to:
Select a forum
General
----------------
Announcements
Installation and Setup
FAQ (Frequently Asked Questions)
Testimonials
Showcase
Help Wanted (commercial)
User Supported Help
----------------
General
Tips and Tricks
Plugins
Add-ons
Frameworks
Article Discussions
Development
----------------
Smarty Development
Feature Requests
Bugs
Documentation
Smarty 3
International Discussions
----------------
Language: German
Language: French
Language: Portuguese
Language: Russian
Language: Spanish
Language: Italian
Language: Japanese
Language: Persian
Language: Polish
Language: Indonesian
Powered by
phpBB
© 2001, 2005 phpBB Group
Protected by
Anti-Spam ACP