Home > Article > CMS Tutorial > How to adjust secondary navigation in phpcms
How to adjust the secondary navigation in phpcms?
phpcms v9 navigation bar calling secondary column example tutorial
<div> <ul> <li><a href="{siteurl($siteid)}">首页</a></li> {pc:content action="category" catid="0" num="10" siteid="$siteid" order="listorder ASC"} {loop $data $r} <li><a href="{$r[url]}">{$r[catname]}</a> {if $r[arrchildid]} <ul> {pc:content action="category" catid="$r[catid]" num="10" siteid="$siteid" order="listorder ASC" return="data2"} {loop $data2 $v} <li><a href="{$v[url]}">{$v[catname]}</a></li> {/loop} {/pc} </ul> {/if} </li> {/loop} {/pc} </ul> </div>
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of How to adjust secondary navigation in phpcms. For more information, please follow other related articles on the PHP Chinese website!