The title says it. I want to use the reveal widget to show/hide a button when a tiddler is there or not. Best would be if the tiddlername could be in a variable.
Why does this not work? I enter in the edit-field a tiddler name that surely exists
Titel: <$edit-text tiddler='$:/tmp/NewISMSElement' field='name_base' class='tc-edit-texteditor'/>
<$list filter="[{{$:/tmp/NewISMSElement!!name_base}}has[created]]"><$button to=HelloThere>...click</$button></$list>
Titel: <$edit-text tiddler='$:/tmp/NewISMSElement' field='name_base' class='tc-edit-texteditor'/>
<$list filter="[{$:/tmp/NewISMSElement!!name_base}has[created]]"><$button to=HelloThere>...click</$button></$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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/8c7560c0-fa54-4253-a6f0-fc70bf358b63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<$set name="basename" value={{$:/isms/tmp/NewISMSElement!!name_base}}><$set name="elementID" value=<<getElementID <<basename>> >> >
</$set></$set>
how do i give the variable "basename" to the inner macrocall inside the second/nested set??
\define inner()<$set name="elementID" value=<<getElementID """$(basename)$""" >> >
...
</$set>\end
<$set name="basename" value={{$:/isms/tmp/NewISMSElement!!name_base}}>
<<inner>></$set>
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/fefce051-d8d4-4c58-8ca8-ad737c752ba5%40googlegroups.com.
\define baseElem() <$macrocall $name=getElementID basename=$(basename)$/>
<$set name="basename" value={{$:/isms/tmp/NewISMSElement!!name_base
}}>
<$set name="elementID" value=<<baseElem>> >
</$set></$set>
\define basename() {{$:/isms/tmp/NewISMSElement!!name_base}}\define elementid()<$macrocall $name="macroGetElementID" fullName=$(basename)$/>\end\define elementtitle()<$macrocall $name="macroGetElementTitle" fullName=$(basename)$/>\end
Titel: <$edit-text tiddler='$:/isms/tmp/NewISMSElement' field='name_base' class='tc-edit-texteditor'/>
<$list filter="[<elementid>!has[created]]"><<currentTiddler>> <$button to=<<elementid>>> not yet created ... create it! </$button></$list>
<$button> <$list filter="[<name_base>addsuffix[_1]] [<name_base>addsuffix[_2] [<name_base>addsuffix[_3]]"> <$action-maketid tags="testmaketid" isms_test="text from a field" $navigate="hide"/> </$list> Make Tiddlers </$button>
<<Make_Something {{$:/isms/tmp/NewISMSElement!!name_base}}>>
<<Make_Something {{$:/isms/tmp/NewISMSElement!!name_base}}>> does not work
<$macrocall $name="
Make_Something" thing=
{{$:/isms/tmp/NewISMSElement!!name_base}} /> will work
\define thismacro(arg)
arg="$arg$"
\end
<$edit-text tiddler="temp" field="stuff"/>
<<thismacro {{temp!!stuff}}>>
\define thismacro(arg1,arg2)
arg1="$arg1$"
arg2="$arg2$"
\end
<$edit-text tiddler="temp" field="stuff"/>
<$edit-text tiddler="temp" field="otherstuff"/>
<<thismacro arg1:{{temp!!stuff}} arg2:{{temp!!otherstuff}}>>