> Wonder whether it is possible to config SearchOptionPlugin or > SimpleSearchPlugin to NOT to show tiddler titles in search result, but > value from a custom field (say a field called "alternative_title")?
http://www.TiddlyTools.com/#SearchOptionsPlugin is specifically designed to permit *redefintion* of the search result output functions. In order to customiz the list content, the function you want to change is called window.formatSearchResults_list() First, go to the SearchOptionsPlugin, and edit the source. Scroll down until you find the above function definition, and copy it to the clipboard. Next, create a separate tiddler (e.g., SearchOptionsPluginConfig), tagged with systemConfig, and paste in the copied code, like this: //{{{ window.formatSearchResults_list=function(text,matches) { ... } //}}} Then, replace this ONE line: var fixup=title.replace(/'/g,"\\x27").replace(/"/g,"\\x22"); with something like this: var fixup=store.getValue(tid,"fieldname"); fixup=fixup.replace(/'/g,"\\x27").replace(/"/g,"\\x22"); Of course, you will need a bit more code to get the desired fieldname based on current language selection, but I leave that as "an exercise for the reader". enjoy, -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

