Feature #37404
Ability to work with relations
| Status: | New | Start date: | 2012-05-22 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | pi1 | |||
| Target version: | - | |||
| Votes: | 1 (View) |
Description
Maybe I've missed something in the manual or while glancing over the code but it seems that I'm not able to create a tag cloud based on 1:n or n:m relations?
In my specific case, I created an extension that equips tt_news with real tags.
Means that there's a table tx_sumottnewstags_tags and a table tx_sumottnewstags_tags_news_mm. Tags are then reusable and in general one is more flexible when working with them.
So is there any way I can make use of that in combination with vge_tagcloud in it's current state?
History
Updated by Francois Suter about 1 year ago
If I understand your question correctly, you can assemble the tag cloud by basing yourself on your tag table. You would use the tag for display and pass the tag's id in the links in the tag cloud. All this should be possible out of the box, or possibly using one of the available hooks. If you want to use the MM relations as weights, that would require using a hook. I really think it's possible, although I must admit that I can't give you a precise step by step guide. As weird as it may seem, I have rarely used my own extension myself...
I hope that still helps you a bit.
I assume that you already have some solution to display the results of clicking on a tag, because that's definitely beyond the capacities of the result plugin (pi2).