Dedecms call subchannel method

Source: Internet
Author: User

Today, I am working on www.111cn.net. I found that using dedecms to call subtopics is as follows.

Call the content of a specified topic

{Dede: arclist flag = 'C' typeid = '000000' row = '10' orderby = 'Hot 'subday = '30 '}
<Li> [field: typename/] <a href = "[field: arcurl/]" target = "_ blank"> [field: title/] </a> <a href = "#"> </a> </li>
{/Dede: arclist}

Call the specified content of multiple columns typeid = '20170901' to separate

{Dede: arclist typeid = '000000 '}
<Li> [field: typename/] <a href = "[field: arcurl/]" target = "_ blank"> [field: title/] </a> <a href = "#"> </a> </li>
{/Dede: arclist}

Call the current column, that is, you do not need to specify typeid type = 'sun' on the list page'

Type = 'sun', the subclass of the current topic'

<Table cellspacing = "3"> <tr>
{Dede: channel type = 'sun '}
<Td>
<A href = '[field: typeurl/]' [field: rel/]> [field: typename/] </a>
<Td> {/dede: channel}
</Tr> </table>

If you want to call the main column, type = top

{Dede: channel type = 'top '}
<Td>
<A href = '[field: typeurl/]' [field: rel/]> [field: typename/] </a>
<Td> {/dede: channel}

This site original reprinted indicated from the http://www.111cn.net otherwise study

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: info-contact@alibabacloud.com 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.