Second level
{pc:content action= "category" catid= "0" siteid= "$siteid"Order=" Listorder ASC "} <a href= "{SiteURL ($siteid)} "> Home </a>{loop$data $r}<!--first column cycle begins--<a href= "{$r[url]} " >{$r[CatName]} </a> {if $r[Arrchildid]} <!--If you have a sub-column--{PC: Content action= "category" Catid= "$r[CATID] "siteid="$siteid"Order=" Listorder ASC "return= "Data2"} {Loop$data 2 $v}<!--Sub-column cycle starts--<a href= "{$v[url]} " >{$v[CatName]} </a> {/loop}<!--Sub-column loop-- {/PC} {/if} {/loop}<!--first-Class column cycle ends-{/PC}
Three levels
{pc:content action= "category" catid= "0" siteid= "$siteid"Order=" Listorder ASC "} <a href= "{SiteURL ($siteid)} "> Home </a>{loop$data $r}<!--first column cycle begins--<a href= "{$r[url]} " >{$r[CatName]} </a> {if $r[Arrchildid]} <!--If you have a sub-column--{PC: Content action= "category" Catid= "$r[CATID] "siteid="$siteid"Order=" Listorder ASC "return= "Data2"} {Loop$data 2 $v}<!--Sub-column cycle starts--<a href= "{$v[url]} " >{$v[CatName]} </a> {if $v[Arrchildid]} {PC: Content action= "category" Catid= "$v[CATID] "siteid="$siteid"Order=" Listorder ASC "return= "Data3"} {Loop$data 3 $v 2}<!--Sub-column cycle starts--<a href= "{$v 2[url]} " >{$v 2[CatName]} </a> {/loop}<!--Sub-column loop-- {/PC} {/if} {/loop}<!--Sub-column loop-- {/PC} {/if} {/loop}<!--first-Class column cycle ends-{/PC}
Phpcms Level Two Menu