THanks Richard.  I got the toolbar item in the right place now, and it 
works properly.  The only odd thing it is doing is not picking up the 
"lightgray" color attribute from the stylesheet.  I kludged this by putting 
an inline color around it, but then the hover dos not work properly.  My 
hunch is that it is because it is text rather than an icon like the other 
items.  maybe will try my hand at homemade vector graphics later!  time 
actually work on writing though.  Thanks for your help.  here is what I 
have:

Title of tiddler: $:/rr/ui/Buttons/new-here-with tags
tags:  $:/tags/ViewToolbar  and $:/tags/EditToolbar
fields: 

caption: +t New Tiddler With Tags

description: Create a new tiddler with the same tags as this one 


tiddler content (note the change in initials from rs to rr):
 
\define newTagsButton()
<$button tooltip={{$:/rr/ui/Buttons/new-here-with-tags!!description}} 
aria-label={{$:/rr/ui/Buttons/new-here-with-tags!!caption}} 
class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" title="New Tag Tiddler" 
tags=$(newTiddlerTags)$ />
@@color:lightgray;+t@@
</$button>
\end
\define getNewTags()
{{$(currentTiddlerName)$!!tags}}
\end

<$set name="newTiddlerTags" value=<<getNewTags>>>
<<newTagsButton>>
</$set>



On Tuesday, July 26, 2016 at 7:36:08 PM UTC-10, RichardWilliamSmith wrote:
>
> try this file - 
> https://dl.dropboxusercontent.com/u/83055414/tiddlywikiforrich.html
>
>

-- 
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/45eff706-c5c5-4bbb-8460-555873f0ca99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to