Re: breadcrumb code
Your answers are extremely enlightening! Thanks a lot.
$location is an array of of location strings?
{section name=position loop=$location}
What is the purpose of section in smarty? loop = $location means to read through elements of the array $location?
this loop is sort of like a built in function to obtain the length of the location variable?
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
if $location[position].1 ne "" mean if not equal to NULL, then print the location variable position with the anchor html code.
what does the .1 mean in $location[position].1 ?
what does the |amp mean in $location[position].1|amp ?
{$location[position].0}
-now what does the .0 mean ?
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%} > {/if}
{/section}
i do not understand %position.last% , the % character meaning here.
__________________
v4.1.8 GOLD
|