Is there any way to search tags using the built in EE search? I guess because they live in a separate table the EE search doesn’t see them. Is there any way to use a custom field to store the tags so they can be searchable? I don’t think I want to “harvest” them, because I’d rather they live in the custom field than the “Tag” tab?
Is there any way to use a custom field to store the tags so they can be searchable? I don’t think I want to “harvest” them, because I’d rather they live in the custom field than the “Tag” tab?
You could do both....
If you really wanted this… a painful workaround would be to have your Tags in both a custom field, and the Tag Tab… I guess it would only be a copy/paste each time.... but I believe that would do it.
Harvesting does not remove the Tags from the custom field, it only copies them
Harvesting does not remove the Tags from the custom field, it only copies them
Sounds like a fun @cron@ job then? Nah, that’s way to dorky
What I think I may do is hack the Tag module a bit so that any tags added to the publish tab are also added to a hidden “meta” custom field. Then you get the best of both worlds. Does that make sense, sound doable?
Two choices here. Just use the native tag search functionality. Or get a copy of the Solspace Preparse extension. Whenever you save an entry, Preparse runs the contents of the entry through a template you specify and then saves the result in one of the custom fields of the entry that was edited. Super cool. Was written mainly to improve load times of sites.
Holler at Pie Man if you want to get at the extension. It’s pretty stable and might even be free for you if it keeps you from butchering my beloved Tag module.
Was going to suggest, but it is limited to the extent that if some “regular” results show, the Tag Search doesn’t happen…
I guess I should have still suggested it… *doh*
Mitchell Kimbrough - 19 March 2008 08:14 AM
Or get a copy of the Solspace Preparse extension. Whenever you save an entry, Preparse runs the contents of the entry through a template you specify and then saves the result in one of the custom fields of the entry that was edited. Super cool. Was written mainly to improve load times of sites.
Holler at Pie Man if you want to get at the extension. It’s pretty stable and might even be free for you if it keeps you from butchering my beloved Tag module.
Holler at Pie Man if you want to get at the extension. It’s pretty stable and might even be free for you if it keeps you from butchering my beloved Tag module.
I had a sneaky suspicion the word “hack” would pull you into this thread
Thanks Mitchell, I’ll certainly give that a whirl. And best of all it will take the load off Javascript which is huge for this particular client.
I’m having trouble using the {exp:tag:search_results} tag in Tag 2.1.1. All I can get is one entry to display in my results. My results page code is something like this, as per the docs:
I’m not displaying any “normal” search results in the template, just the tag results. I’m not sure if it makes any difference, but I’m using the EE simple search form to run the search (as opposed to the advanced form).
If using the Preparse extension would be a better option, I’d be interested in a link to where I might be able to get it.
I’ve narrowed the problem down to an issue with my custom entry statuses. It looks like the tag search is ignoring the status parameter in the {exp:search:simple_form} tag. Therefore, any entry that isn’t set to “open” isn’t shown in the results.
I’ve narrowed the problem down to an issue with my custom entry statuses. It looks like the tag search is ignoring the status parameter in the {exp:search:simple_form} tag. Therefore, any entry that isn’t set to “open” isn’t shown in the results.
ztaylor,
Add the status="yourstatus1|yourstatus2|yourstatus3" to your {exp:tag:search_results} loop
Two choices here. Just use the native tag search functionality. Or get a copy of the Solspace Preparse extension. Whenever you save an entry, Preparse runs the contents of the entry through a template you specify and then saves the result in one of the custom fields of the entry that was edited. Super cool. Was written mainly to improve load times of sites.
Holler at Pie Man if you want to get at the extension. It’s pretty stable and might even be free for you if it keeps you from butchering my beloved Tag module.
mk
Hi. Is the Preparse extension available? My clients are distressed that they cannot search their Tags. Thanks.
Hullo… another request here for the Preparse extension...(the name makes it sound awesome). I have the very same request from my client… they want the standard search to return results based on tags… TIA!
I’m in dire need of this as well after a few failed attempts at searching tags directly (easy) and then passing the corresponding entries to EE weblog:entries output (not so much). Could I get a copy?