the following code will create a tiddler with the same name as the text in 
the search field 

it will appear in the sidebar when the searchtext is not empty as

    pen + superscript  s

how to accomplish this

make a clone of the editbutton *$:/core/ui/Buttons/edit * which is normally 
used for editing a tiddler in the story river

replace the body text with the following (in *bold *the changes compared to 
the original edit button tiddler)
-----
*<$reveal state="$:/temp/search" type="nomatch" text="">*<$button 
message="tm-edit-tiddler" *param={{$:/temp/search}}* 
tooltip={{$:/language/Buttons/Edit/Hint}} 
aria-label={{$:/language/Buttons/Edit/Caption}} 
class=<<tv-config-toolbar-class>>>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/edit-button}}*^^s^^*
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text 
text={{$:/language/Buttons/Edit/Caption}}/></span>
</$list>
</$button>*</$reveal>*
----
then add tag $:/tags/PageControls   
remove the tag $:/tags/ViewToolbar
rename the tiddler to a unique name
save tiddler clone 

that's all
Njoy wjam



-- 
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/267b516b-220d-45f3-bcde-56c8fd8e28d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to