Re: How Do I Display The Latest News...

Jonn Beames <[email protected]> Tue, 05 Aug 2003 12:26:55 -0700
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya News Server
Message-ID <[email protected]>
mikespub wrote:
> In article <bfc3qn$a41$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, [email protected] wrote:
> 
>>How do I display the latest news articles from a specific topic?
>>
>>For example, I have 20 news topics. I want to be able to show the latest
>>headlines from one specific topic.
>>
>>I see how to display the latest articles from the entire group of news
>>topics, but I don't see how to do it for one topic.
>>
>>Is this possible? Have I just not looked hard enough? Any help is
>>appreciated.
>>
>>MJT
> 
> 
> Depending on what exactly you're trying to do, you could :
> 
> 1) use a block
> 
> The articles/topitems or articles/featureditems already allow you to select
> articles of a particular pubtype (optionally), so it shouldn't be difficult to
> extend them to support an optional category as well. Default behaviour
> should remain the same though, to avoid any conflicts with current sites.
> 
I finally got around to adding optional category support to the 
articles/topitems block (it's already in articles/featureditems).  It is 
in changeset 1.426.  If you grab the latest modules bk you should be 
able to play with it.

Don't worry Mahmood, the default behavior is the same as it has been.  I 
like the way it works, too ;)

Actually, because I wanted to maintain the default behavior, the Admin 
UI might seem a little odd to people unaware of the legacy.  If you have 
an suggests for improvement in this regard (or in general), let me know.

Jonn