Thanks Mario,
I will do my best to understand the consequences of the above.
Where I start to have difficulties is when I try to use values in widgets,
macros etc...
I do not expect you to solve my problem but here is my chalenge.
My particular application uses a field in outer with multiple named
tiddlers (Like a tags field)
eg tiddlerlist: "Overview examples [[How to]]"
We could call this a list of suffixes
I want to create a new tiddler button (when viewing outer) for tiddlers
prefixed by outers (title), suffixed by each value
eg
outer - Overview
outer - examples
outer - How To
The new tiddlers must also be tagged with "outer" their sufix eg Overview
and have their field caption set to their suffix value
Idealy you will not see the new tiddler button if the tiddler already
exists
I then have a nice tabs command which only displays tabs of tiddlers with
the suffix if they exist
@@.tabsstyle
<div>
<<tabs "[prefix[$(currentTiddler)$ - ]]" "'{{!!defaulttab}}">>
</div>
@@
This will allow me to create tiddlers using outer as a template, which will
provide optional tabs and subtiddlers in the tiddler accordiong to the
values in tiddler list. Examples may include
Work Instructions
Code Snipits
....
The truth is it is currently beyond my skill level, but I see great
potential.
I am sure what you have told me will get me there eventualy.
Regards
Tony
On Sunday, July 16, 2017 at 10:59:47 PM UTC+10, PMario wrote:
>
>
>
>> including macros etc... I want to pass a value to subsequent lists etc...
>> that is not reevaluated in every other tiddler/macro/filter etc...
>>
>
> Once upon a time, there where no global macros.
> Macros could only live within the tiddler where they have been defined.
> Users felt great pain. They endlessly complained about of their misery.
> So a brave hero had to be sent out to defend the dragon ...
> uups ... ok ok ...
>
> Since beta 5.0.13
> <http://tiddlywiki.com/#Release%205.0.13-beta:%5B%5BRelease%205.0.13-beta%5D%5D%20ImportVariablesWidget>
>
> we have the import-variables widget.
>
> *outer: *
>
> \define my-macro() Praise the hero!
>
> <$set name="var-test" value="asdf">
> <$transclude tiddler="inner" mode=block/>
> </$set>
>
>
> *inner: *
>
> <$importvariables filter="outer">
>
> <<my-macro>>
>
> </$importvariables>
>
> {{!!primary-field}}
>
> <<var-test>>
>
> hope that helps :) ... use with care!
> and
>
> have fun!
> mario
>
>
--
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/66612b76-c37d-417f-ad8d-d0a493ae6f5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.