Help - Search - Members - Calendar
Full Version: A bunch of Category-related questions...
Movable Type Community Forum > Additional Resources > Tips and Tricks
Geoff H
I use categories to maintain a photo-album on my website.  Each time I have a new "event" to post, I create a new category.  Each individual photo gets its own Entry, and all Photos/Entries from the same event get assigned to the newly-created category.  All these questions below relate to my "Events Listing" page, which lists all the various categories, clickable to enter the individual category-archive page, where all the event's photos are viewable.

Okay, here goes....

1.  Can I get a list of categories to sort chronologically or by Category ID, rather than alphabetically? (I don't think this is built-in to MT, so is there maybe a plugin?)

2.  I know how to display the number of entries assigned to a particiular category, but is it in any way possible to get the number of comments that have been posted to only the specific category?

3.  I'd like to get information (ie: Author, date posted, etc.) about the single most recent comment across all entries within one category.  Is this possible?

Hmmm... Okay, I think those are the main questions for now.
Thanks!   smile.gif
Geoff H
sad.gif
*bump*
Any suggestions... for maybe even just one of the points above?
nammer
Geoff, I just wanted you to know that someone was looking at this; there are a number of threads here about displaying "most recently-updated blogs" (in a multiple blog group on a portal page, say), but nothing about recently-updated categories (chronologically).

If category id is a separate field in the MySQL db, you should be able to write a MySQL widget that would sort by that (Brenna, where are you?), but unfortunately I can't do that! The best thing I could suggest is creating a new index template, entering and updating the category information manually, and including it in your main blog with PHP. sad.gif I'm sorry you haven't gotten an earlier answer from someone, or a better answer out of me, for that matter - good luck!

Donna
kadyellebee
Yeah, if PHP/MySQL is an option, the a recent entry script could be modified to show the category name rather than the entry name. Comments might be a bit harder, but its possible, I think.

I can look for more info if PHP is an option for you smile.gif

Kristine
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.