Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have created a patch to add support for the Active Tags Popular module.
I haven't tested it extensively -- but there isn't much to it so I think it should work across the board.
Comment | File | Size | Author |
---|---|---|---|
#2 | patch.patch | 2.71 KB | JaceRider |
#1 | patch.patch | 2.94 KB | JaceRider |
patch.patch | 2.69 KB | JaceRider |
Comments
Comment #1
JaceRider CreditAttribution: JaceRider commentedSmall fix. New patch.
Comment #2
JaceRider CreditAttribution: JaceRider commentedPatch that fixes an issue with the autocomplete.
Comment #3
mh86 CreditAttribution: mh86 commentedI haven't been using Active Tags Popular yet, but I know Active Tags and I think it would be very cool to add the Active Tags Popular too.
The patch basically looks good, except some coding standards, like the indenting of the settings form and the some concatenated strings.
Comment #4
fourmi4x CreditAttribution: fourmi4x commentedActive Tags Popular is really awesome to me.
=> Is it planned to add this patch in the next version of Content Taxonomy ? (suscribing!)
Comment #5
dragonwize CreditAttribution: dragonwize commentedI'll review and test this patch when I get a chance as well. Hopefully this weekend.
Comment #6
JaceRider CreditAttribution: JaceRider commentedWell, don't review it too closely. I found a lot of issues with it when I brought it over to a different Drupal install. I have a better patch. If I find a spare second I'll take some time and upload the patch.
Comment #7
fourmi4x CreditAttribution: fourmi4x commentedHi JaceRider, do you by any chance have the better patch ? I would really enjoy it and test it !
Comment #8
Izz ad-Din CreditAttribution: Izz ad-Din commentedAny news on this issue?
Comment #9
looplog CreditAttribution: looplog commentedSubscribing. Would like to see these two integrated as well...
Comment #10
xjmMarked #670212: Content Taxonomy breaks "tags" as duplicate of this issue.
Comment #11
AntiNSA CreditAttribution: AntiNSA commentedi8 really need this. Any way to do it yet?
Comment #12
dragonwize CreditAttribution: dragonwize commentedLooking over this patch it seems just to add AT-popular to the field if requested. While that method would work fine for a large majority of people that simply use a CT field with only one vocabulary and no restrictions on that vocabulary, however, it would give incorrect results for all those that used any of the other options in CT because AT would display popular terms from all terms of one vocabulary only.
The normal AT module was easy to integrate as it is purely a front end js widget and uses all of CT's back end including the returned auto complete results so it works easily with all of CTs options. AT-popular is currently written to just return most popular tags on one vocabulary and does so with its own SQL backend.
Because of that AT-popular will need a patch to support CT's options or something more generic that would achieve that goal. I have been meaning to rewrite AT-popular with a much more flexible API so this would be even more of a reason for that.
Comment #13
rootworkDespite JaceRider's lack of satisfaction with it, the patch from #2 does seem to work.
There are some limitations, such as not being able to have a more than one content taxonomy field using the popular tags in the same node form.
It's great to hear about Active Tags' possible API development, but in the meantime it might be nice to move this into dev so we can provide limited support for Active Tags Popular.
Comment #14
Bartezz CreditAttribution: Bartezz commentedNo news yet?