Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-20 03:03: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 07:44:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: How to Make Section Doing This

If the banners are advertising and you want them displayed on a different part of the front page than the news item, you can set “On front page? No” for the banners and display them using the <txp:article_custom section="banner" /> tag.

Offline

#3 2007-06-21 03:04:50

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

Re: How to Make Section Doing This

Thanks

Offline

Board footer

Powered by FluxBB