Hi,
Am having problems getting this to work:
I have a file called "$:/_mod/droplist" in which I have a number of
prepopulated droplists defined using macros, eg:
\define domain()
<$select field="domain">
<option value="">Domain</option>
<option>anthropology</option>
<option>biology</option>
<option>chemistry</option>
</$select>
\end
I've been trying to import this macro using the ImportVariables widget in
the middle of a table file:
<$tiddler tiddler="$:/temp/new/work">
|!Year |<$edit-text field="year" size="4"/> |
|!Title |<$edit-text field="worktitle" size="48"/> |
|!About |<$edit-text field="about" size="48"/> |
<$importvariables filter="$:/_mod/droplist"/>
<<domain>>
</$importvariables>
<$select field="genre">
<option value="">Genre</option>
<option>lexicon</option>
<option>notebook</option>
<option>project</option>
<option>web</option>
</$select>
|!Tags |{{||$:/core/ui/EditTemplate/tags}} |
|!Text |<$edit-text field="text"/> |
The import however (I've tried a few different combinations), is breaking
my block mode.. the import code is rendering as a literal string, and/or it
is breaking the block mode.
Any solutions?
Thanks.
James
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.