Welcome Guest, Not a member yet? Register   Sign In
Template parser class and multilevel arrays
#1

[eluser]Raymondddd[/eluser]
Hi,

Got the same problem as in this topic:
http://ellislab.com/forums/viewthread/144097/

Can't find a solution for this problem. Anyone?

Example:
Code:
[cart_information] => Array (
            [quantity] => 1
            [price] => 8.00
            [btw] => 1.52
            [btw_price] => 6.48
            [shipping] => 1.50
            [total_price] => 9.50
        )

Something like {cart_information.price} doesn't work.

Raymond
#2

[eluser]Phil Sturgeon[/eluser]
Nope, and it's not meant to. If you want a more powerful Template parser, use a more powerful Template parser.

Dwoo or Smarty are available, I would suggest Dwoo.

http://dwoo.org/
http://philsturgeon.co.uk/code/codeigniter-dwoo
#3

[eluser]Raymondddd[/eluser]
[quote author="Phil Sturgeon" date="1270484228"]Nope, and it's not meant to. If you want a more powerful Template parser, use a more powerful Template parser.

Dwoo or Smarty are available, I would suggest Dwoo.

http://dwoo.org/
http://philsturgeon.co.uk/code/codeigniter-dwoo[/quote]

Thank you. Just installed Dwoo and is working fine!




Theme © iAndrew 2016 - Forum software by © MyBB