Home  >  Article  >  CMS Tutorial  >  What should I do if the phpcms navigation drop-down does not display?

What should I do if the phpcms navigation drop-down does not display?

藏色散人
藏色散人Original
2020-02-04 10:54:452273browse

What should I do if the phpcms navigation drop-down does not display?

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}

What should I do if the phpcms navigation drop-down does not display?

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

What should I do if the phpcms navigation drop-down does not display?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn