Listing archive list for a specific category

Creating and modifying plugins.
Post Reply
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Listing archive list for a specific category

Post 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.
I make s9y plugins, too.
My s9y blog depends on them. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Listing archive list for a specific category

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Post 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.
I make s9y plugins, too.
My s9y blog depends on them. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
void

Post 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 :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply