phpcms navigation drop-down is not displayed?
PHPCMS navigation only displays the first-level menu by default. How to display the second-level menu? Just need to make some simple modifications.
PHPCMS navigation modification, display drop-down menu
As shown in the figure, a second-level menu loop is added to the first-level menu.
{pc:content action="category" catid="$r['catid']" num="10" siteid="$siteid" order="listorder ASC"} <ul class="navOpen"> {loop $data $rr} <li><a href="{$rr[url]}">{$rr[catname]}</a></li> {/loop} </ul> {/pc}
You also need to set the columns that need to be displayed in the secondary menu to "display in navigation" in the background, otherwise they cannot be displayed
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What should I do if the phpcms navigation drop-down does not display?. For more information, please follow other related articles on the PHP Chinese website!