Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-05 18:34:19

dberthia
Member
From: Minnesota
Registered: 2006-03-08
Posts: 22
Website

<txp:article_custom> and the default section

I’d like to display a simple list of my most recent article titles, and <txp:article_custom> seems like the way to go. Unfortunately, it displays some articles from other sections that I don’t want included in the list. There is a “section” attribute on the tag, but I can’t seem to get it to display only articles from my “default” section. I’ve tried specifying “Default”, “default” and “” for the section, but none of these give the desired output. Anybody know what I can do to restrict this to only articles from the Default section?

- Dave

Offline

#2 2007-08-05 19:04:51

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

Re: <txp:article_custom> and the default section

“Default” isn’t a section.. it’s the front page. What section have you set for the articles in the write tab?

Offline

#3 2007-08-05 20:01:45

dberthia
Member
From: Minnesota
Registered: 2006-03-08
Posts: 22
Website

Re: <txp:article_custom> and the default section

Ah- my bad. I thought the articles went to the default section, but apparently they go into the ‘article’ section. Thanks.

Offline

Board footer

Powered by FluxBB