I’m trying to export a website from a Tinderbox file. Key notes are exported as single pages, and each note/page has a number of “tags” associated via the $Tags set data. I would like the “tag” values exported on each page to be hyperlinks to agents that are exported as pages listing all other notes/pages with that tag. In other words, if I click on a tag name on a page, I am taken to a new page that contains a list of all notes with that tag.
I have tried to follow the instructions on this page but I think I need a bit more help.
Here’s the rule code I’m working with:
$TagExporter = format($Tags, "", "^linkTo(",")^;",""); $TagFormatter = format($TagExporter,"<ul>\n","\t<li>","</li>\n","</ul>\n");
Here’s the result on the exported page:
Tags: * ^linkTo(tagA)^
i.e…, I’m not getting a hyperlinked word and it’s not linking to the intended note.
Here’s the folder structure of my file:
Index note1 note2 note3 Tags tagA (agent collecting notes containing tagA) tagB tagC
So I think my question is: how do I get the
linkTo command in the above rule to point to these notes in the “Tags” container?