DEDECMS development skills summary _ PHP Tutorial

Source: Internet
Author: User
DEDECMS development tips. DEDECMS development skills summary 1. dedecms's built-in drop-down list menu calls dedecms's self-contained drop-down menu function, which is also very simple to call. dedecms development skills summary
1. call the drop-down list menu provided by dedecms
Dedecms has the drop-down menu function and is very simple to call. you do not need to find another tag by yourself when using the drop-down menu that comes with dedecms, you just need to modify the corresponding/templets/style/dedecms.css and the following lines of CSS code.
Open/templets/default/head.htm and find the section called by the dedecms navigation menu.
CCS won't be pasted here

  • Home Page

  • {Dede: channel type = 'top' row = '10' currentstyle ="
  • ~ Typename ~
  • "}
  • [Field: typename/]

  • {/Dede: channel}

Specifically, type = 'top' indicates that the top-level column row = '10' indicates that the number of 10 columns to be called [field: rel/] is equivalent to the column id added to dropmenu. This label is added to dedecms5.5 and is mainly used to display lower-level columns in the navigation bar. do not remove this label when using the drop-down menu.
{Dede: channel type = 'top' row = '10' currentstyle ="
  • ~ Typename ~
  • "} You can remove currentstyle ="
  • ~ Typename ~
  • "We should style this part and then open/templets/default/footer.htm to find the code for calling dedecms to call the level-2 drop-down menu.
    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.