[TW5] macros dont work in tm-modal. Why?

79 views
Skip to first unread message

Siniy-Kit

unread,
Aug 11, 2016, 10:52:06 AM8/11/16
to TiddlyWiki
Hi! I have my tiddler "Figures' with tabs macros in it  and if  I put it to tm-modal, the result of this macros disappears

 <$button message='tm-modal' param='Figures' class = 'onclean' > <span class="item_Thumb"> <$image  source= {{00000!!image150x150}} />  </span> </$button>

Help me please.

Jeremy Ruston

unread,
Aug 11, 2016, 12:46:15 PM8/11/16
to tiddl...@googlegroups.com
Hi Siniy

Hi! I have my tiddler "Figures' with tabs macros in it  and if  I put it to tm-modal, the result of this macros disappears

It’s definitely something that should be fixed, but currently global macros have to be explicitly enabled for use within a modal using the importvariables widget:

<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]”>
[…content of your modal…]
</$importvariables>

Best wishes

Jeremy.



 <$button message='tm-modal' param='Figures' class = 'onclean' > <span class="item_Thumb"> <$image  source= {{00000!!image150x150}} />  </span> </$button>

Help me please.

--
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/08ffa122-9772-4e72-87a0-54b1ff666ef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages