> What is the script to go into a ViewTemplate so that the Comments
> option is present in all tiddlers.

<div macro='comment {{tiddler.title}}'></div>

or, if you want to hide the comment form behind a slider until needed,
create a tiddler called [[AddComment]] containing:
--------------------------------
{{small{<<slider
        {{config.options.chkOpenedSlider=false;"chkOpenedSlider";}}
        AddComment##sliderSection
        "add a comment..."
        {{"add a comment to '"+tiddler.title+"'"}}
>>}}}/%
!sliderSection
<<comment {{tiddler.title}}>>
!end
%/
--------------------------------

Then, in ViewTemplate, write:
   <div macro='tiddler AddComment'></div>

enjoy,
-e


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to