Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums How To Dynamically generated "Category" links
Rayc
Posted on 02 Nov 2010, 14:53:52

Access: Member
Total Posts: 74
Joined: 2010-06-13

This is a "How To" question if possible, or a "Suggestion" if not. :smile2:

Just let me say, as a "News" script, N-13 is almost perfect. There's always going to be a few unique applications that push the limits, but for 99% of the uses, it has everything that's needed.

So now I'm considering using N-13 as a BLOG, and was wondering how I could create a "Tag Cloud" for the articles. Then it occurred to me that Categories could be used as tags, since a given article can have multiple categories.

But then comes the issue of keeping up with the various "Tags" and displaying them. There are ways to code a link to produce results from a particular category. But,I would expect, in this use of the script, there would be new categories/tags being added all the time, and that creates the challenge of constantly updating these links to display the various tags and filter the results.

So, is there a way to extract all of the categories, and display them as links to filter articles with that category?

-RayC
#3008
Chris
Posted on 05 Nov 2010, 02:27:10

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

These 2 links links basically both partly do what you need. You should be able to combine them both to make it do what you want.

http://code.google.com/p/n-13news/wiki/CodeSamples#Display_categories_along_with_the_article_count_for_each

http://network-13.com/thread/1941#1942
#3010
Network-13.com © 2013