DEDECMS Home Column Loop call sub-column content (article) how to write

Source: Internet
Author: User
Dedecms Label

If my classification is
Big Class 1
Small Class 11
Small Class 12
Big Class 2
Small Class 21
Small class 22
........................
Now I want to implement the following

Big Class 1
Small class 11 Small class 12
Article title title
Article title title
Article title title
Article title title
Article title title

Big Class 2
Small Class 21 Small class 22
Article title title
Article title title
Article title title
Article title title
Article title title
........................
Such loop calls do not know how to implement


Reply to discussion (solution)

I was just beginning to learn to weave a dream, but I do not understand

- -!! No one.

First Big class
{Dede:type typeid=1} [Field:typename/] {/dede:type}

{dede:arclist row= ' 6 ' titlelen= ' imgwidth= ' ' imgheight= ' 107 ' addfields= ' body ' typeid= ' small class One ' channelid= ' 1 '}
Field:title/]
{/dede:arclist}

{dede:arclist row= ' 6 ' titlelen= ' imgwidth= ' ' imgheight= ' 107 ' addfields= ' body ' typeid= ' small class ' channelid= ' 1 '}
Field:title/]
{/dede:arclist}

Go down like this.

First Big class
{Dede:type typeid=1} [Field:typename/] {/dede:type}

{dede:arclist row= ' 6 ' titlelen= ' imgwidth= ' ' imgheight= ' 107 ' addfields= ' body ' typeid= ' small class One ' channelid= ' 1 '}
Field:title/]
{/dede:arclist}

{dede:arclist row= ' 6 ' titlelen= ' imgwidth= ' ' imgheight= ' 107 ' addfields= ' body ' typeid= ' small class ' channelid= ' 1 '}
Field:title/]
{/dede:arclist}

Go down like this.
All listed, 1!!. - -!

It seems that the only way to do this is to Dede tag nesting as if it were the simplest.

  • 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.