![]() |
Assign multiple arrays in var
Hi,
I am trying to assing multiple arrays to 1 var: Code:
{assign var=curpath value=$c.categoryid|$ct.parentid|$cat} Complete code: Code:
{foreach from=$categories item=ct key=catid} i get c.categoryid from another loop, this loop is a part of it. I want to get a var like: 30/5/2 beacause i need to compare this var with the categoryid_path This all for the solution of this post: http://forum.x-cart.com/showthread.php?t=46407 |
Re: Assign multiple arrays in var
Hmmm...
Code:
{capture name=weirdURL}$c.categoryid|$ct.parentid|$cat{/capture} bla-bla-bla {/if} Smarty are not so smart while handling arrays. It's sad but true :( |
All times are GMT -8. The time now is 11:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.