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 5 matches
Smarty Forum Index
Author
Message
Topic:
Global variable scope issue
Girish
Replies:
3
Views:
21036
Forum:
Smarty Development
Posted: Mon Jan 16, 2017 8:22 am Subject:
Global variable scope issue
You mean variable scope is only limited with template hierarchy?
We want to use those variable at multiple places so if we go with this approach we have to call respective function at many times.
...
Topic:
Global variable scope issue
Girish
Replies:
3
Views:
21036
Forum:
Smarty Development
Posted: Fri Jan 13, 2017 11:45 am Subject:
Global variable scope issue
{function name=testing data=''}
{assign var=var_a value=$data scope="global"}
{/function}
{testing data=1}
1. {$var_a}
{testi ...
Topic:
Include inline with string resource is not displaying output
Girish
Replies:
4
Views:
21425
Forum:
Smarty Development
Posted: Mon Jan 09, 2017 12:53 pm Subject:
Include inline with string resource is not displaying output
We tried with both the ways but no good luck.
Will you please do let us know how can we achieve this.
Topic:
Include inline with string resource is not displaying output
Girish
Replies:
4
Views:
21425
Forum:
Smarty Development
Posted: Fri Jan 06, 2017 5:12 am Subject:
Include inline with string resource is not displaying output
No any difference in result.
include inline with tpl file is working as expected but not with the string.
{include file="../../Common/generic_templates/sort_table_content.tpl" ...
Topic:
Include inline with string resource is not displaying output
Girish
Replies:
4
Views:
21425
Forum:
Smarty Development
Posted: Thu Jan 05, 2017 4:41 pm Subject:
Include inline with string resource is not displaying output
I am trying to use include inline to parse the smarty string but it's not working as expected.
{$b = 'testing'}
{$a = '{$b}'}
{include file="string:{$a}" inline=true}
I can parse the ...
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