Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-13 02:55:11

lessthanperfect
Member
From: Northern Va
Registered: 2006-06-25
Posts: 10
Website

Two sections same page

I know that by simply choosing to display on the same page, I can have two sections show on my main page HOWEVER – I want to have the blog entries displayed first and then entries from another section displayed below that. I attempted to simply reuse the article listing tag and use the second section but that didn’t seem to work well. Thanks for help!

Offline

#2 2009-04-13 06:04:24

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Two sections same page

Use the article_custom tag with the section attribute set to your section:

<txp:article_custom section="your_section1,your_section2" />

Offline

#3 2009-04-13 09:13:33

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Two sections same page

Also add the “sort” attribute to split them the way you want so something like sort="Section asc, Posted desc" or whatever field you want to use. See here.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB