Page 1 of 1

Listing archive list for a specific category

Posted: Wed Aug 24, 2005 12:40 am
by wesley
I might have missed something, but I was wondering if there's a way of
having the listing the archives (the summary, not the one with actual body
of each entries) with only one category? The current /archive page and
/archives/(year)/(month) pages show entries for all categories.

Re: Listing archive list for a specific category

Posted: Wed Aug 24, 2005 12:46 am
by garvinhicking
That's right, there currently is no stub for that and it would need to be extended in core code.

I've not investigated it, but it *might* work if you use /archive/C2, which would show category 2. At least we use that "/Cxxx" thing when browsing multiple pages of a category view. In the index.php we have a foreach loop which looks if a URI part is "Wxxx" (Week) or "Cxxx" (Category) or "Pxxx" (page)...

Just throwing pointers :-D

Regards,
Garvin

Posted: Wed Aug 24, 2005 4:30 am
by wesley
Nah, it doesn't work. I'll wait for the core extension... I was thinking of
attempting to implement one but then I got tired.

Posted: Wed Aug 24, 2005 12:24 pm
by garvinhicking
I must admit I personally don't ever use the /archive page, so I'm lacking a bit motivation to put that functionality in myself :-D

Regards,
Garvin

Posted: Wed Aug 24, 2005 3:02 pm
by void
garvinhicking wrote:I must admit I personally don't ever use the /archive page, so I'm lacking a bit motivation to put that functionality in myself :-D

Regards,
Garvin
I need this function too. Otherwise I can't setup 'semi'-multiple blogs on one site. Would be a reason for me to start using s9y. Thanks in advance :)

Posted: Wed Aug 24, 2005 10:46 pm
by garvinhicking
Well, if we can win a new user with this, it's okay. I just committed support for that to our repository (SVN), it will be contained in tomorrows snapshot.

Have fun,
Garvin