Thank you Jeremy I solve this problem by little code in SampleModal . it
works good
\define imgmod()
{{$(name)$||3dsliderModal}}
\end
<$set name="name" value=<<yourMessage>> >
<<imgmod>>
</$set>
пятница, 30 декабря 2016 г., 18:46:43 UTC+3 пользователь Jeremy Ruston
написал:
> Hi Sini-Kit
>
> One problem is with this part:
>
> yourMessage={{||3dsliderModal}}
>
> Transcluded attributed are never wikified; the text is passed through
> directly, and so the double bar syntax is not used with transcluded
> attributes.
>
> If I understand your goal correctly, you’ll need to pass the current
> tiddler explicitly to the modal:
>
> <$action-sendmessage $message="tm-modal" $param="SampleModal"
> currentTiddler=<<currentTiddler>>/>
>
> Then your modal can pick up the caption field and other values that you
> are displaying.
>
> Best wishes
>
> Jeremy
>
> and so don’t need to resolve the value of the current tiddler.
>
> On 30 Dec 2016, at 14:29, sini-Kit <[email protected] <javascript:>> wrote:
>
>
> Hi! I try to make tm-modal and show there current tiddler with the template
>
> <$button class = 'onclean2' >
> <$action-sendmessage $message="tm-modal" $param="SampleModal"
> yourName={{!!caption}} yourMessage={{||3dsliderModal}} />
> </$button>
>
> but when I use {{||3dsliderModal}} it shows nothing
> I think it's because SampleModal has field subtitle:<<yourMessage>>
>
> is it possible to use {{||3dsliderModal}} in modal?
>
> --
> 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] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> 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/7d7ecf4a-cde3-47e6-9afb-237a98e7e660%40googlegroups.com
>
> <https://groups.google.com/d/msgid/tiddlywiki/7d7ecf4a-cde3-47e6-9afb-237a98e7e660%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
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/5dd5d839-6d96-4d28-9a2c-35a3cbb7ecdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.