Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-09-04 13:44:29
- dimfish
- Member
- Registered: 2006-06-01
- Posts: 72
News section archive and most recent....?
I am struggling with this and I’m sure it is straightforward so I wonder if someone could just give me a hand.
I want a news section on my site like this:
When you land in ‘News’ section you get:
List of 10 most recent articles in news section (title/excerpt)
Sidebar:
for the archive broken down by category and also month. I’d like it so that when you click on a month or cat then the month or category appears as a heading above the list of articles that is produced.
How would you do this? I have tried using rss_suparchive for the archive, but don’t understand how I can get the 10 most recent articles displaying when you first land, and then a list of articles under a particular category in the archive (but a full list ie not just recent 10)…
If you get what I mean and fancy a five minute distraction, would you mind helping me out….it’s driving me up the wall.
Thanks indeed!
Last edited by dimfish (2006-09-04 13:47:04)
Offline
Re: News section archive and most recent....?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2006-09-06 13:48:06
- dimfish
- Member
- Registered: 2006-06-01
- Posts: 72
Re: News section archive and most recent....?
Hi Colak.
Thanks for your tip-off about article_custom.
Would you mind helping me a little more. What I don’t understand is how I can get the 10 most recent articles to display when you first land in news, but also get a list of ALL of the articles in a particular category/month when you choose from the archive sidebar.
I am using this at the moment:
<code>
<txp:if_individual_article>
<txp:article form=“newsitem” />
<txp:else />
<txp:article_custom section=“news” form=“newslist” limit=“10” />
</txp:if_individual_article>
</code>
Offline