Open dhardtke opened 10 years ago
I don't want to add more tags. I'm thinking instead to implement a custom tags feature that works with autoload.
So you'll be able to create a {isLast} tag yourself.
I meant something like a variable for that purpose - like counter but just as boolean instead of int.
I see your point. Well you can still do something like this:
{$isLast="$counter = count($breadcrumbs)-1"}
and than use {$isLast}
{if="$isLast"} ... {/if}
I'll consider to add that in the loop anyway, thanks for your suggestion.
Hey,
I would like to have the possiblity to detect if I am in the last element of the loop or the first..
Currently I'm realizing it like this:
which means IF currentCounterValue is not reached
hope you can make something like this possible.
Greets