Home >CMS Tutorial >DEDECMS >How to change the navigation bar in dedecms

How to change the navigation bar in dedecms

藏色散人
藏色散人Original
2019-08-01 17:20:267069browse

How to change the navigation bar in dedecms

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.

How to change the navigation bar in dedecms

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=&#39;{dede:global.cfg_cmsurl/}/&#39;><span>主页</span></a></li>
{dede:channelartlist type="top" tyoid="top"}
   <li><a href="{dede:field name=&#39;typeurl&#39;/}">{dede:field name=&#39;typename&#39;/}</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!

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