Hi folks,
I have a problem with the different behaviour of TagLister and getResourcesTag (Revo 2.1.3, tagLister 1.1.3).
Scenario: A TV with the input type ’text’ and the output type ’Delimiter’ holds all the tags of the resource.
TagLister correctly explodes the TV value to get the individual tags, but getResourcesTag doesn’t. Depending on what I set ’&tagSearchType’ to, getResourcesTag either outputs nothing or a whole lot of resources whose TV value just happens to contain the search string. I.e, if the tag I’m looking for is ’mate’, getResourcesTag also outputs resources tagged with ’material’ or ’amateur’.
Maybe this is just a matter of redefining the ’tagSearchType’ property in the getResourcesTag snippet?
$scriptProperties[’tvFilters’] = $tagKey.’==%’.$tag.’%’
Can anyone point me in the right direction? Or at least tell me definitively that there is no solution to my problem?
Thanks for whatever help you can give me.
Update:
OK, the above idea was dumb (inspired by desperation). But does really no-one have any idea how to work around this problem?
To elaborate: I need this for a dictionary site. Each document ’is’ a German term with three TVs: 1: German synonyms, 2: English translations and 3: Russian translations. Three index pages list the German, English, and Russian expressions (tags) respectively, where each link opens the document the tag is associated with. Or rather, it
should open this and only this document. But getresourcesTag refuses to do that.
This system works perfectly in Evolution, as you can see here:
http://www.ueber-setzen.com/de/fundgrube/typographie/deutsches_stichwortverzeichnis.html. But I cannot figure out how to recreate it in Revolution.