I love the Tag module, but the fact that EE search results don’t include Tag tags is always a pain. Using the Tag search results isn’t much of an option (who wants two separate sets of results?) I did come across a couple of options, but neither really fit the bill.
Tag Sync is an extension that works alongside the Solspace Tag module to automatically keep a custom text field synchronized with each entry’s tags, therefore making your tags searchable via the EE Search module.
Usage
After uploading and activating the extension, visit Tag Sync’s extension settings screen. For each relevant weblog, choose the custom text field you’d like tags synced to. (Make sure this custom field is searchable, and I’d suggest you keep it hidden by default.) Once saved, the chosen field will be updated with current Tag data whenever an entry is published or updated.
You can also run a full synchronization of tags to your custom field by using the link provided on the extension settings screen for each weblog. This is useful if you already have a bunch of tagged entries when you install the extension, and for periodic refreshes (i.e. when tags have been altered or merged using the Tag Manager, or if tags have been submitted via the public tag form, as these actions will not automatically update your custom fields).
(Note that if you have a whole tonne of entries in the weblog you’re syncing, this process could possibly timeout if you have a not-so-powerful server. I tested the sync process with a few hundred entries and it didn’t blink. I’d love to hear reports of successes or failures!)
Note that Tag Sync executes one-way synchronization. It will never interfere with the Tag module; it will only take data from the module and insert it into your custom field.
Tag Sync has been tested with ExpressionEngine 1.6.8.
D-Rock,
I think this is a fantastic idea and is exactly what I need. I was wondering if you’ve any plans to make it synchronized the other way around as well from custom field into Solspace Tag? I like the function of Simple Tags, but like the added power of Solspace Tag, so hopefully this will help out quite a bit. =)
Hey Danny - glad this will work for you.
Tag already has the functionality you mention built-in, called “harvest”. http://www.solspace.com/docs/detail/tag_control_panel/#harvest
Is there a way to have a list of tags show up in the advanced search options?
Not with this extension. You’d need to write a whole new search module, as the EE search module has no hooks.
A little birdie told me that Tag search will be coming to Solspace’s Super Search module at some point.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.