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 4 matches
Smarty Forum Index
Author
Message
Topic:
shorttag_order for custom plugins
Karamfil
Replies:
1
Views:
16177
Forum:
Smarty Development
Posted: Wed Nov 18, 2015 8:14 am Subject:
shorttag_order for custom plugins
Hello,
Is there a way with Smarty 3 to create shorthand attributes for custom functions.
Here is an example:
{T 'Text'}
Thanks
Topic:
PHP5 dereferencing support
Karamfil
Replies:
8
Views:
23371
Forum:
Feature Requests
Posted: Fri Mar 28, 2008 3:59 pm Subject:
PHP5 dereferencing support
Here is what i came with
Extend the Smarty class with yours, thus there is no chance somebody will overwrite edited smarty files, becuase you haven't edited them
/*
* Template.class.php
* ...
Topic:
Including a template in the same template
Karamfil
Replies:
2
Views:
5077
Forum:
General
Posted: Tue Feb 27, 2007 2:38 pm Subject:
Including a template in the same template
Hello
Hmm {foreach} is harder for me
i tried it
here is the code
{foreach item=menuItem from=$menu}
<li><a href="{$menuItem.link}">{$menu ...
Topic:
Including a template in the same template
Karamfil
Replies:
2
Views:
5077
Forum:
General
Posted: Sun Feb 25, 2007 5:39 pm Subject:
Including a template in the same template
Hello,
I have a section and I need to include the same template as current. here is the code:
the PHP
$submenuItem1 = array("link" => "###1", "title" => ...
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