Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Assigning array to smarty variables
Hi. I've been changing the theme around now that Kyttias made it possible to use bootstrap, and I wanted to know where I could assign an array to the smarty variables. I found a way to add native variables through the frame class, but it seems hashmaps don't take arrays :(
__________________
asp.net stole my soul. |
#2
|
||||
|
||||
Well standard smarty array assignment works like this:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
OOoh! Thank you! I've been messing around with the class_frame render() function and arrays didn't work obviously xD I've been doing it wrong all along xD Thank you! That solves it! ^^
__________________
asp.net stole my soul. |
#4
|
||||
|
||||
Glad I can be of any help. ^^
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
smarty questions | Kyttias | Questions and Supports | 12 | 06-20-2014 10:41 PM |
Smarty errors and WAMPP | Kesstryl | Questions and Supports | 15 | 01-29-2014 09:07 PM |
Problem: smarty class 1.3.4 | draugluin | Questions and Supports | 8 | 11-15-2013 02:29 AM |
Assigning User Groups | GuardiansWish | Questions and Supports | 2 | 06-19-2012 04:51 PM |
What's New? |
What's Hot? |
What's Popular? |