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:
Plugin "columnSeparator" - split rows to columns
MVH
Replies:
0
Views:
7784
Forum:
Plugins
Posted: Mon Mar 14, 2011 9:31 am Subject:
Plugin "columnSeparator" - split rows to columns
<?php
/**
* Split rows to columns.
* @version 1.0
* @author Mikhail Kharitonov <mvh@list.ru>
*
* Example 1:
* <table>
* {$foo=0}
* {foreach a ...
Topic:
Variable scope in {php} tag
MVH
Replies:
7
Views:
19215
Forum:
Smarty 3
Posted: Sat Mar 05, 2011 10:22 am Subject:
Variable scope in {php} tag
maybe i can access template object form $smarty object?
Hm... You can access to current template through $template var:
{php}
$template->assign('foo', 'value');
$tpl ...
Topic:
Option use_relative_paths in {include} and {extends}
MVH
Replies:
9
Views:
41683
Forum:
Feature Requests
Posted: Fri Mar 04, 2011 8:02 pm Subject:
Option use_relative_paths in {include} and {extends}
In big projects, where many template files, full path to template input so hard.
Example:
Project structure:
layouts/
base.tpl
modules/
catalog/
goods/
inc/
...
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