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:
{include ...} and inline Javascript
krodelabestiole
Replies:
4
Views:
8521
Forum:
General
Posted: Sat Jul 13, 2013 10:13 pm Subject:
{include ...} and inline Javascript
here is a method to keep spaces and line breaks, just adding \ before each one, which works with javascript :
{capture name="html"}
{include file='template.tpl'}
...
Topic:
config file to javascript (json ?)
krodelabestiole
Replies:
1
Views:
5886
Forum:
General
Posted: Sun Nov 27, 2011 6:54 pm Subject:
config file to javascript (json ?)
i was trying to figure out how to pass variables i get in an INI file to javascript (i'm interested in passing a language file here)
i thought of many way to do this but none worked yet (javascript ...
Topic:
[modifier] ucnames to capitalize titles and places and stuff
krodelabestiole
Replies:
1
Views:
8308
Forum:
Plugins
Posted: Tue Jul 05, 2011 9:40 pm Subject:
[modifier] ucnames to capitalize titles and places and stuff
btw what would be the better way to switch language ?
is there any smarty function to get the language or a php one such as getLocale ?
Topic:
[modifier] ucnames to capitalize titles and places and stuff
krodelabestiole
Replies:
1
Views:
8308
Forum:
Plugins
Posted: Tue Jul 05, 2011 9:31 pm Subject:
[modifier] ucnames to capitalize titles and places and stuff
a bit like ucwords :
it's made to capitalise each word of a string except small words like prepositions or articles
ive been looking for such fonction on the web but as i found nothing that suited ...
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