> > For instance; Creating a tiddler, adding text to it and tagging it > $:/tags/ViewTemplate, will result in the text showing up at the bottom of > tiddlers. Nice and simple. But what equally simple methods are there to > make it show up in other places in ViewTemplate? ...or, really, any > template? >
With a library like jQuery that helps with selecting dom elements it would be real simple. You define a selector and there you go, content is inserted. appended. prepended, before or after at that selector. With the current templating, you are somewhat limited to which elements use that listing mechanism, including *list-before* and *list-after*, e.g. the ViewTemplate or the PageTemplate or the EditTemplate, or even the control buttons ...but you can't just add stuff to the, say the view-template section for tags or the title or the subtitle ...unless it provided the same listing mechanism.. so you can hook other stuff into that "row". Not sure, but perhaps there could be a generic way to have things prepend or append to the content of the thing that is currently being rendered. Best wishes, Tobias. -- 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.
