Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-20 03:04:16

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

How to Make Section Doing This

Hello, I was create two section
  • News
  • Banner

I was change setting on Presentation > Sections

On News
Selected by default? Yes
On front page? Yes
Syndicate? Yes
Include in site search? Yes

On Banner
Selected by default? No
On front page? Yes
Syndicate? No
Include in site search? No

And I want both of section show up in the front page, but in different looping.
Example
I want News Section have own loop and only contain article from News Section and Banner Section have another looping and only show from banner section article.

How to Do that?
Please help me

Thanks

Offline

#2 2007-06-20 05:45:20

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: How to Make Section Doing This

Use article_custom. I don’t know what you mean by looping, but if you want something like this:

[Article - Section 1]
[Article - Section 2]

then, use:

<txp:article_custom limit="1" section="section1" />
<txp:article_custom limit="1" section="section2" />

Offline

#3 2007-06-21 03:06:22

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: How to Make Section Doing This

Thanks XI

The problem solved now.

Offline

Board footer

Powered by FluxBB