smarty2 Questions

2

Solved

How can i get the first smarty array element ? Actually i know how to do this... but i have following issue. I get a array passed that looks like this [DATA] => Array ( [12] => Array ( ...
Edmonds asked 22/8, 2014 at 14:0

3

Solved

I would like to know if it is possible to do something similar to a for cycle using Smarty 2. I would like to have something like this: <select> {for $i from 1950 to 2000 } <option valu...
Maudmaude asked 16/4, 2011 at 17:56

4

Solved

I am having issue formatting variables in smarty. I was wondering what is the best way to do it. Basically i have a string "ABC | DEFGH" i want smarty to get the substring of "DEFGH" How would i go...
Faugh asked 8/12, 2010 at 16:46

3

I need to do deviding: {math equation="x/y" x=$x y=$y} // $x = '2', $y = '3' How to convert strings to numbers exactly in Smarty, coz I don't have access to proprietary code of CMS? Thanx! UPD:...
Masorete asked 16/5, 2014 at 12:30
1

© 2022 - 2025 — McMap. All rights reserved.