dedecmsHow to change the navigation bar?
dedecms method to modify the navigation bar:
First log in to the dedecms backend; then find the [Core] menu; then open [Website Column Management] to see Go to all navigation and sub-sections.
Then, it is necessary to display this page. The required images, js, and css must be stored in the appropriate locations:
Write the following code in head.htm:
<div id="header"> <div id="top"> <div id="logo"> <a href="index.htm" title="石家庄职业技术学院"><img src="{dede:global.cfg_templets_skin/}/images/logo.png" alt="石家庄职业技术学院" /></a> </div> <div class="flash"><img src="{dede:global.cfg_templets_skin/}/images/banner.gif" alt="How to change the navigation bar in dedecms" ></div> <div class="text"></div> </div> <!-- //菜单 --> <div id="nav"> <ul> <li><a href='{dede:global.cfg_cmsurl/}/'><span>主页</span></a></li> {dede:channelartlist type="top" tyoid="top"} <li><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a> <dl class="a"> {dede:channel} <dd><a href="[field:typelink/]" title="[field:typename/]">[field:typename/]</a></dd> {/dede:channel} </dl> </li> {/dede:channelartlist} </ul> </div> </div>
For more dedecms technical articles, please visit dedecms use Tutorial column!
The above is the detailed content of How to change the navigation bar in dedecms. For more information, please follow other related articles on the PHP Chinese website!