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 3 matches
Smarty Forum Index
Author Message
  Topic: Using assigned variables as array indexes within templates
Exar

Replies: 6
Views: 50262

PostForum: Feature Requests   Posted: Mon Nov 01, 2004 9:20 am   Subject: Using assigned variables as array indexes within templates
Just as a followup (and to justify this thread's position in 'feature requests') - your solution seems like such a useful one (I'm now using it everywhere) that it should be included in future smarty ...
  Topic: Using assigned variables as array indexes within templates
Exar

Replies: 6
Views: 50262

PostForum: Feature Requests   Posted: Fri Oct 29, 2004 4:19 pm   Subject: Using assigned variables as array indexes within templates
Yeah, good idea - the lookup modifier seems the way to go.

Thanks for replying so quickly.
  Topic: Using assigned variables as array indexes within templates
Exar

Replies: 6
Views: 50262

PostForum: Feature Requests   Posted: Fri Oct 29, 2004 3:25 pm   Subject: Using assigned variables as array indexes within templates
Here's what I'm trying to do (hopefully I'm not just thinking about this all wrong):

I have a PHP object with a var called 'status', which can have one of a few values such as 'ACT', 'INACT', 'SUS' ...
 
Page 1 of 1
All times are GMT
Jump to:  


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