If you're like me, challenges are what make being a developer fun. Sometimes, however, these challenges can be daunting. With piecemeal information at one's fingertips, it can be aggravating to say the least to try to solve a vexing problem.
{#if $T.length == 0 && $P.root} No Categories {#else} {#foreach $T as cat} {#if $P.select} {$T.cat.Name} {#else} {$T.cat.Name} {#/if} {#if $P.edit} Delete Are you sure? Yes Cancel {#/if} {#if $P.edit && !$P.isRootBlog} Move {#/if} {#/for} {#/if}
Parent category: -- {#foreach $T as cat} {$T.cat.Name} {#/for}