Freetag: Category-specific Tag Cloud

Creating and modifying plugins.
Post Reply
Nicola
Regular
Posts: 48
Joined: Wed May 25, 2005 5:08 pm
Contact:

Freetag: Category-specific Tag Cloud

Post by Nicola »

Hi!

I plan to use s9y as CMS for a small Website with
"Articles". It will have some (3-4) Maintopics which
I wanted to define with/as categories.

Now - one of those should be kind of a guidebook
with the tag cloud as a main navigation. So far so fine.

Now I would have to exclude the tags from the other
sections from the "guidebook-tag cloud" of course as
eg announcements or articles like "about us" and so on
would be embarassing in the guidebook.

So what I need would be an option to show
"category-specific tag clouds".

Any suggestions?

Thanks for all your work - I love serendipity!

Nicola
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Freetag: Category-specific Tag Cloud

Post by garvinhicking »

Hi!

Tag clouds per se are not hierarchical. But you seem to want to have hierarchical tag clouds.

For your scenario, the plugin is not suitable and would need adaption , something like "sections" for tags, where you choose a base section to indicate to which part the tag applies to. That means the DB table would need an additional column, and all DB queries inside the plugin would need to use this "prefix". That's some coding effort, but not impossible, if you know some basic PHP and MySQL, or find/pay someone who does.

I would love to volunteer on that, but since it's some major work, I don't have the time for this at the moment. :(

The other option is to stick with sub-categories which you could create like tags?

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/
Nicola
Regular
Posts: 48
Joined: Wed May 25, 2005 5:08 pm
Contact:

Re: Freetag: Category-specific Tag Cloud

Post by Nicola »

garvinhicking wrote: That's some coding effort, but not impossible, if you know some basic PHP and MySQL, or find/pay someone who does.
My client won't pay for that (and I can't do it) ;-(

Any idea how to display subcategory-links like a tag cloud - font size dependend on article count?

Thanks
Nicola
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Well, you'd need a way to get the category article counts. The category plugin supports that, and it's even got Smarty output. By looking at the category plugin template, you should be able to figure out where the category article counts are, then use them for font size instead of displaying them.
Judebert
---
Website | Wishlist | PayPal
Post Reply