Pre Sales - Will Tags Solve my Problem
Posted: 20 November 2007 09:03 AM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

Hi Mitchell et al,
I getting ready to build out the site we discussed some time back and and wondering if the Tag Module (which sounds great) may help with my categorization challenge??

The Challenge is as follows:
We need to categorize content two ways by Location and Topic and then display a list of categories that have articles related to a selected location.

Example:

Location is “Miami” (page could be a single entry article about “Miami” or category Page “Miami”) , which ever works.
Show all the Categories that have articles about Miami like this:

Welcome To Miami
Articles about Miami Organized by Category:

Sports (4 articles)
Government (9 articles)
Education (6 articles)

Each category name would lead to a page that shows the articles in that category.

Would the Tag Module help here?

Profile
 
 
Posted: 20 November 2007 01:42 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

This could be done with a manual creation of a category page (as opposed to dynamic).

Currently, it seems the Tag Category parameter cannot detect the current category page it’s viewing.

Referring to your other post:
http://www.solspace.com/forums/viewthread/417/

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 20 November 2007 01:58 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

Thanks Pie Man.

I got it to work by using the segment variable as follows:

{exp:tag:cloud weblog="community" category='{segment_3}' limit="20"}
{tag}
{
/exp:tag:cloud}

segment_3 is the category name so it returns tags that have articles in that category.
I always assumed (that’s never a good idea) that “category_id” was a variable you could reference on a category page but I was wrong.

Being that’s it’s almost thanksgiving are you getting ready for some serious pie eating? For me it’s Pecan..
have a good one.

Profile
 
 
Posted: 20 November 2007 02:26 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Haha awesome!

I was going to suggest the segment variable, but I wasn’t thinking that the Category Name would work…. and the Category ID would show as C22 or something, where the C would obviously fubar it… wink

Thanks for letting me know smile


PS - I’m from Canada, so I’ve already had my Thanksgiving :D
But you’re welcome to mail me some pie raspberry

 Signature 

Check out the new Solspace Blog!

Profile