Home  >  Article  >  Web Front-end  >  The list page calls the sub-category Dreamweaver tag_html/css_WEB-ITnose of the current column

The list page calls the sub-category Dreamweaver tag_html/css_WEB-ITnose of the current column

WBOY
WBOYOriginal
2016-06-24 12:07:081191browse

The list page calls the sub-category Dreamweaver tag of the current column:

{dede:channel type='son' row='10' currentstyle="

  • ~typename~
  • "}


    {/dede:channel}

    is simplified to --->>>

    {dede:channel type='son' row='10'}

  • [ field:typename/]

  • {/dede:channel}

    Analysis:

    Tag name: channel

    Tag introduction: Dreamweaver commonly used tags, usually used at the top of the website to obtain site column information, to facilitate website members to browse the entire site information by category

    Function description: Used to get the column list

    Scope of application: Global use

    Basic syntax:

    {dede:channel type='top' row='8' currentstyle="

  • ~typename~< /a>
  • "}

  • [field:typename/]

    {/dede:channel}

    Parameter description:

    typeid = '0' Column ID
    reid = '0' Superior column ID
    row = '100' Number of calling columns
    col = '1' How many columns to display ( Default is single column)
    type = 'son | sun' son represents lower-level columns, self represents same-level columns, top top-level column
    currentstyle = '' Apply style

    Underlying template fields:

    ID (same as id), typeid, typelink, typename, typeurl, typedir (only the URL of the column)

    Example :

    {dede:channel type='top'}

    [field:typename/]

    {/dede:channel}

    Note: When typeid is not specified, the type tag is related to the environment of the template. For example, if the template is generated to column one, then type='son' will Indicates all subcategories of column one

  • 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