On Tuesday, August 4, 2015 at 3:48:47 AM UTC-7, magev958 wrote: > > Hi, I was wondering if it would be (easy) possible to show the path to a > tiddler > > If I have a ToC like this >
Give this a try: 1) create a tiddler, [[TOCPath/Macro]], tagged with "$:/tags/Macro", containing: \define TOCPath() <$list filter="[all[current]tags[]![prefix[$:/tags]limit[1]]"> <<TOCPath>> <$view field="title"/> </$list> \end 2) create a tiddler, [[TOCPath/Template]], tagged with $:/tags/ViewTemplate", containing: <<TOCPath>> <$view field="title"/> 3) add "list-before" field to [[TOCPath/Template]], with a value of: $:/core/ui/ViewTemplate/body Notes: 1) the filter excludes 'system tags' (e.g. starting with "$:/tags"), and assumes that the *first* tag on the tiddler is it's "parent" in the TOC tree. 2) the template invokes the macro for the current tiddler and includes the current tiddler title in the output (as requested) 3) the list-before field places the output before the body text (as requested) enjoy, -e Eric Shulman ELS Design Studios TiddlyTools - "Small Tools for Big Ideas!" InsideTiddlyWiki: The Missing Manuals YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5a587b55-6b40-45b2-8a45-9f3dc7a8965f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

