Home > CMS Tutorial > DEDECMS > body text

How to change the navigation bar in dedecms

藏色散人
Release: 2019-08-01 17:20:26
Original
7025 people have browsed it

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template