Hi Danielo

On Thu, Apr 17, 2014 at 7:53 PM, Danielo Rodríguez <[email protected]>wrote:

> I don't understand the concept of separated transclusions. I have similar
> problems so if you explain the solution to me I will be grateful.
>

To understand what's going on here you need to understand how the qualify
macro is used. As the docs say, given a base string it returns a tiddler
title that is unique to the current position in the tree of transclusions.
Conversely, if you call the qualify macro with the same base string twice
within the same transcluded tiddler, then you'll get the same tiddler title
back.

So, if you want to keep tag pills independent, you have to make sure that
they are given a different state title by the qualify macro, which is done
by arranging them into different transclusions.

The tabs macro copes with this situation by providing an additional `state`
parameter that can be used to distinguish between multiple invocations of
the tabs macro in the same tiddler.

We need to refactor the tag pill template into a macro so that we can add
that additional parameter.

Best wishes

Jeremy.






>
> --
> 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.

Reply via email to