I duplicated the core Tag Template --iirc-- along with some associated 
templates to create a second style of tag pills for my RagTag (Jeremy 
forgive me : P ) top bar menu's.  The code (modified tag template) below 
shows the filters used for the tag drop down listings and changing the 
default title use for captions.

<span class="tc-tag-list-item">
<$set name="transclusion" value=<<currentTiddler>>>
<$macrocall $name="tag-pill-body" tag=<<currentTiddler>> icon={{!!icon}} 
colour={{!!color}} palette={{$:/palette}} element-tag="""$button""" 
element-attributes="""popup=<<qualify "$:/state/popup/tag">> 
dragFilter='[all[current]tagging[]]' tag='span'"""/>
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" 
position="below" animate="yes" class="tc-drop-down">
<$transclude tiddler="$:/.ragsui/TagMenuListItemTemplate"/>
<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]" 
variable="listItem"> 
<$transclude tiddler=<<listItem>>/> 
</$list>
<hr>
<$list filter="[all[current]tagging[]sort[sortorder]]">
<$link to={{!!title}}>{{!!caption}}</$link>
</$list>
</$reveal>
</$set>
</span>
<!-- above hr render by ragsui tagmenulistitem, title linkd caption, below 
hr by last list   -->



-- 
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/291b28bf-bfd4-40b8-827e-367274142f66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to