Smarty

Nick’s in da house!

Posted by on July 6, 2011 at 4:30 pm

We have Nick Eagland in to help us at Zone 1 Creative for a week. He will helping Pin out on X-Cart integrations due to workload. Nick’s an old buddy from Dreamteam Design and brings Jammy Dodgers into the office.

Display the contents of an array in Smarty

Posted by on April 25, 2010 at 8:00 pm

Some time you just need to see what variables are available in an array in Smarty. In PHP this is usually done using “print_r($foo)” where $foo is your array. But in smarty this is done using the following method. {$foo|@print_r} When you use this command I recommend placing open and closing pre tags around the [...]