Hi Jeremy, I apologise, I meant that I don't want to have to customise $:/core/ui/SideBarLists just to change how search results are listed. Not my proposed $:/core/ui/SearchResults
I want to change how certain results are listed depending on their tag. In My case if it's a twexe tiddler I would like to just transclude the button rather than linking to the article (and then having to press the button from there). I have done this elsewhere but it'd like to do it for the default search without having to keep the rest of $:/core/ui/SideBarLists up to date also. Thanks, James On Wednesday, 9 July 2014 11:44:57 UTC+1, Jeremy Ruston wrote: > > Hi James > >> >> but have $:/temp/search and $:/core/ui/ListItemTemplate be set via some >> sort of variable? (Is this possible?) >> > > The closest we've got would be to define a macro <<searchResults>> that > parameterises $:/temp/search and $:/core/ui/ListItemTemplate. > > >> Then in $:/core/ui/SideBarLists I could transclude >> $:/core/ui/DefaultSearchResults which would subsequently transclude >> $:/core/ui/SearchResults with the default values or I could overwrite it >> with my own custom version. >> >> Ideally I don't want to have to customize $:/core/ui/SearchResults just >> to change how search results are rendered. >> > > Can you explain a bit more what you're trying to accomplish? Why wouldn't > you just overwrite $:/core/ui/SearchResults? > > Best wishes > > Jeremy > > >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWikiDev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywikidev. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
