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 3 matches
Smarty Forum Index
Author
Message
Topic:
Multiple inheritance from .tpl file
mitke013
Replies:
0
Views:
16998
Forum:
Feature Requests
Posted: Sun Feb 12, 2012 10:16 am Subject:
Multiple inheritance from .tpl file
I tried a code like this in .tpl file:
{extends file="first.tpl|second.tpl"}
But it doesn't work. Is it possible to do it from .tpl file instead of using php for that?
Topic:
Template inheritance: check if {block name="tabs"}
mitke013
Replies:
2
Views:
20993
Forum:
Feature Requests
Posted: Fri Feb 03, 2012 7:56 pm Subject:
Template inheritance: check if {block name="tabs"}
Thanks, I have been using similar code before, just wanted to make it more simple (ie. avoid another block).
I really hope such feature will appear in future versions. It can become very handy when t ...
Topic:
Template inheritance: check if {block name="tabs"}
mitke013
Replies:
2
Views:
20993
Forum:
Feature Requests
Posted: Wed Feb 01, 2012 8:49 pm Subject:
Template inheritance: check if {block name="tabs"}
Is there a way to check if parent.tpl knows if any of child templates has a block called ie.tabs?
Example:
....
parent.tpl
<div class="{if $smarty->hasBlockInChildren('tabs')} with- ...
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