Tag Category Approach
Posted: 15 May 2008 06:47 AM   [ Ignore ]
Newbie
Rank
Total Posts:  13
Joined  2007-08-29

Hey Guys,

How would you approach tag categories?  I know this is not supported by the module and is probably a good bit of work, but if you needed to do it, where would you start?  I’m working on a legal site now and we’re using the tag module to handle “related companies”.  These “related companies” are displayed on the site using the tag cloud, tag entries and tag tags functions.  Many pages of the site show both a list of the article specific tags and a list of any tags from the article’s category.  We also display listed of all entries containing a certain tag.

What I need to do is duplicate the entire set of “related companies” functions on the site so that the client can display both “related companies” and “related lawfirms” independently of one another.

Any recommendations?

Thanks for your help,
Shawn

Profile
 
 
Posted: 15 May 2008 07:01 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2180
Joined  2006-10-18

Shawn,

Is it possible for you to just base the pulling from weblog entry Weblogs or Categories?

For example, pulling related entries through Tags, just specify the weblog parameter, etc smile
That should allow you to specify 2 related entries loops, one showing “related lawfirms” and one showing “related companies”

 Signature 
Profile
 
 
Posted: 15 May 2008 10:04 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  13
Joined  2007-08-29

Thanks for the reply.  The problem is that it’s entries from one weblog that need the two sets of tags.  These are legal articles which are displayed on the site based upon category.  At present, any article can be tagged with a list of companies contained in the article.  The tag module helps relate a specific article to any other article with the same companies mentioned or within the same category.  They want to duplicate this functionality across the site for lawfirms mentioned in the same article.  Does that make sense?

Profile
 
 
Posted: 15 May 2008 12:55 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2180
Joined  2006-10-18

I hope it’s making sense to me LOL haha

Okay, after typing up a huge message, I think I’m starting to understand what you might want… I’ll leave my original message below in case it applies, plus it also wont seem like as much of a waste of 15 minutes, hahaha LOL
If wrong, perhaps you can go into a little more detail like below if I’m not too far off cheese

Otherwise, if you’re asking to duplicate a set of Tags, etc, it’s definately not possible out of the box, and I couldn’t tell you where to start if you’d like to hack the code wink
I’ll have Mitchell pop in when he has the chance if he can provide any assistance smile

---------------------------------------------------------------------------------------------------------------------------

To make sure I understand you correctly…

So for example,

You have a primary entry… let’s say it’s tagged: companya, companyb, companyc, lawfirma, lawfirmb, lawfirmc

You then have several Company entries… that belong to a weblog called “companies”
Theoretically, you should have tagged according to their names? companya, companyb, companyc

You then have several Law Firm entries… that belong to a weblog called “lawfirms”
Theoretically, you should have tagged according to their names? lawfirma, lawfirmb, lawfirmc

You now want your primary entry to display two seperate lists of related entries. One being Companies that match those Tag names, and the other being Law Firms that match those Tag names. The reference would overlap of course, but we can use the weblog="” parameter.

So, your primary entry, then a Related Entries loop with weblog parameter set to “companies” and another Related Entries loop with weblog parameter set to “lawfirms”
That would filter out the wrong entries, etc....

 Signature 
Profile
 
 
Posted: 15 May 2008 01:24 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  13
Joined  2007-08-29

Hmmm… I actually think I would need two sets of tags.

Here’s the basic setup.

Currently about 700+ articles on a live site.

Let’s say all articles exist in one weblog (let’s call it articles) and are asigned to a category (Category A)

Articles curently have a set of tags… Company A, company B, company C

On the side bar of an article I display all related articles based on tags / category.  So if I’m displaying an article in Category A with tags Company B / Company C the side bar would display all article titles in Category A which also have the tag Company B / Company C… (other tag functions are used on a page but keeping it simple )

What I need to do is duplicate the above using Lawfirm A Lawfirm B Lawfirm C… Realizing that it’s not possible currently, how would you approach it?

a.  Run
b.  Customize the tag module.
c.  Duplicate the tag module and run two instances side by side? (taga / tagb?  not scalable but doable?)
d.  Hire Mitchell.
e.  Another approach altogether.

Thanks again.
-Shawn

Profile
 
 
Posted: 15 May 2008 02:59 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2180
Joined  2006-10-18

a. Run rasberry LOL

Or how about:

f. Use seperate weblogs for Companies and Law Firms, then you can do what I have explained above cheese

 Signature 
Profile