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:
HTML Truncate plugin
nhantam
Replies:
8
Views:
53421
Forum:
Plugins
Posted: Fri Dec 16, 2011 3:57 am Subject:
HTML Truncate plugin
I use
{$title|html_substr:"30":".."}
or
{$itcgArr.cgTitle|html_substr:30:'..'}
It not run with smarty 2.6.26 but it run with version 2.6.25.
How do I fix ?
Topic:
simple for loop (much better than section)
nhantam
Replies:
15
Views:
126150
Forum:
Feature Requests
Posted: Fri Dec 02, 2011 6:31 am Subject:
counter foreach loop
{foreach from=$product name=prd item=vl}
{$smarty.foreach._prd .index}
{/foreach}
// Out put
0
1
...
good luck
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