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:
json encode - pass multiple bitmask constants for formatting
andrewFountain
Replies:
4
Views:
8580
Forum:
General
Posted: Fri Apr 26, 2019 4:38 am Subject:
json encode - pass multiple bitmask constants for formatting
Because it's takes a long time to get anything changed in the back end and we have so many modules without any underlying consistent framework so to add a new method to anything takes a very long time ...
Topic:
json encode - pass multiple bitmask constants for formatting
andrewFountain
Replies:
4
Views:
8580
Forum:
General
Posted: Wed Apr 24, 2019 5:10 am Subject:
json encode - pass multiple bitmask constants for formatting
Hi,
I'm wondering if there is any way to pass multiple bitmask constants when formatting using json_encode in a template.
The json structure has been assigned to the page as an associative array ...
Topic:
return value for {function} or define global variables
andrewFountain
Replies:
4
Views:
25401
Forum:
Smarty 3
Posted: Fri Aug 31, 2018 9:21 am Subject:
For future me
You can surround a function call with a capture to assign the output of the function to a variable in your template scope.
{function generateText}
function text
{/function} ...
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