If you don't mind buttons, this might work (in your linkage templated): \define vroom(closeme:"tender" title:"Untitled") <$button><$action-navigate $to="$title$"/><$action-sendmessage $message="tm-close-tiddler" $param= "$closeme$"/>$title$</$button> <$list filter="[is[current]tag[Quiz]]" variable="callingTiddler"><hr> <$list filter="[tag[Quiz]sort[]before<callingTiddler>]">Previous: <$macrocall $name="vroom" closeme=<<callingTiddler>> title=<<currentTiddler>>/> </$list> <$list filter="[tag[Quiz]sort[]after<currentTiddler>]">Next: <$macrocall $name="vroom" closeme=<<callingTiddler>> title=<<currentTiddler>>/> </$list> </$list>
If you do mind buttons, I'm sure there's some way to apply CSS to make the buttons look like links. Good luck! Mark On Sunday, August 21, 2016 at 3:38:40 PM UTC-7, Dominik P. wrote: > > is there a way to close the current tiddler when link is clicked with this? > like with http://www.tiddlytools.com/#NextTiddler > > Am Sonntag, 21. August 2016 22:22:06 UTC+2 schrieb Mark S.: >> >> You need to take out the prior.js and next.js, since TW5 now already has >> filters with those names in the core. However, they don't do the filters >> you want do. Instead use before and after filters. This worked for me: >> >> <$list filter="[is[current]tag[Quiz]]"><hr> >> <$list filter="[tag[Quiz]sort[]before<currentTiddler>]">Back to >> <$link><$view field="title"/></$link></$list> >> <$list filter="[tag[Quiz]sort[]after<currentTiddler>]">Next >> <$link><$view field="title"/></$link></$list> >> </$list> >> >> Good luck! >> Mark >> >> On Sunday, August 21, 2016 at 11:18:47 AM UTC-7, Dominik P. wrote: >>> >>> thanks that did the fix for >>> http://tw5magick.tiddlyspot.com/#Overview%20of%20all%20Questions >>> >>> http://tw5magick.tiddlyspot.com/#QuizionLinkage still breaks my head >>> <$list filter="[is[current]tag[Quiz]]"><hr> >>> <$list filter="[tag[Quiz]previous[]]">Back to <$link><$view >>> field="title"/></$link><br></$list> >>> <$list filter="[tag[Quiz]next[]]">Next <$link><$view >>> field="title"/></$link></$list> >>> </$list> >>> >>> tried changing [is[current]tag[Quiz]] to [all[current]tag[Quiz]] but >>> that didnt fix it >>> >>> >>> >>> Am Sonntag, 21. August 2016 19:34:32 UTC+2 schrieb Mark S.: >>>> >>>> About the overall listing, probably there have been changes in TW5 in >>>> the last 2 years. This version works closer to the original: >>>> >>>> <$list filter="[tag[Quiz]tags[]] -Quiz +[sort[title]]"> >>>> >>>> ! <$view field="title"/> >>>> <$list filter="[all[current]tagging[]] +[tag[Quiz]] +[sort[title]]"> >>>> <$link><$view field="title"/></$link><p/> >>>> </$list> >>>> </$list> >>>> >>>> >>>> I changed "is[current]" to "all[current]", added a space before the >>>> header, and paragraph break after the items. >>>> >>>> HTH >>>> Mark >>>> >>>> On Sunday, August 21, 2016 at 8:54:50 AM UTC-7, Dominik P. wrote: >>>>> >>>>> tried to import the quiz (Example: Quiz creation >>>>> <http://tw5magick.tiddlyspot.com/#Example%3A%20Quiz%20creation>) from >>>>> http://tw5magick.tiddlyspot.com/ to the latest version of TW >>>>> i got the css working by changing $:/tags/stylesheet to >>>>> $:/tags/Stylesheet >>>>> i imported >>>>> $:/core/modules/filters/next.js >>>>> <http://tw5magick.tiddlyspot.com/#%24%3A%2Fcore%2Fmodules%2Ffilters%2Fnext.js> >>>>> $:/core/modules/filters/previous.js >>>>> <http://tw5magick.tiddlyspot.com/#%24%3A%2Fcore%2Fmodules%2Ffilters%2Fprevious.js> >>>>> but i cant get >>>>> http://tw5magick.tiddlyspot.com/#QuizionLinkage >>>>> and >>>>> http://tw5magick.tiddlyspot.com/#Overview%20of%20all%20Questions >>>>> to do their stuff correctly (linkage doesnt show anything in >>>>> example-questions-view and overview only shows the "website" tag header >>>>> but >>>>> no list) >>>>> >>>>> any ideas? >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d63c23d9-f211-449e-bad8-64558d306e98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

