Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: String comparison {if $var == 'Specific'} not working for me
programmining

Replies: 2
Views: 13225

PostForum: General   Posted: Thu Sep 19, 2013 10:40 pm   Subject: String comparison {if $var == 'Specific'} not working for me
I checked subsequent templates that this variable is passed to (and eventually output) - the text is never stripped, and yet there are no extra characters output to the page...

I'm still very confu ...
  Topic: String comparison {if $var == 'Specific'} not working for me
programmining

Replies: 2
Views: 13225

PostForum: General   Posted: Thu Sep 19, 2013 10:36 pm   Subject: String comparison {if $var == 'Specific'} not working for me
I am probably missing something here, but I've been searching long enough for an answer...

A variable, let's call it $var is passed into the template.

Outputting $var displays the text "Spe ...
  Topic: Sorting arrays inside templates
programmining

Replies: 28
Views: 226304

PostForum: General   Posted: Wed Jun 12, 2013 7:23 pm   Subject: Sorting arrays inside templates
Thanks U.Tews.

For our team, our Dev's are pushing hard to keep this out of the templates. Already other projects have moved towards json & js templating systems so from a processes and techno ...
  Topic: Sorting arrays inside templates
programmining

Replies: 28
Views: 226304

PostForum: General   Posted: Wed Jun 12, 2013 2:25 pm   Subject: Sorting arrays inside templates
Hey all. Using Smarty-3.1.13 - does the sortby modifier still work in this version - or - was this script update included for it?

Update to the link previously posted on page one about variable mo ...
  Topic: Introduction & question: diff {if !x} vs {if ! x}
programmining

Replies: 4
Views: 4562

PostForum: General   Posted: Fri Oct 19, 2012 3:18 pm   Subject: Introduction & question: diff {if !x} vs {if ! x}
Are you sure?
  Topic: Introduction & question: diff {if !x} vs {if ! x}
programmining

Replies: 4
Views: 4562

PostForum: General   Posted: Thu Oct 18, 2012 8:58 pm   Subject: Introduction & question: diff {if !x} vs {if ! x}
Greetings fellow smarty users. I am new to the language and just wanted to say hello. Hello Smile


So.. I'm wading through syntax and just taking notes on how things are done around here and found ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP