I have a macro, which basically list all the tiddlers tagged with the current tiddler in a vertical tab list
\define tagVerticalTabsUnsorted(defaultTid:"")
@@float:right;
<span>
{{||$:/core/ui/TagTemplate}}
</span>
@@
<$macrocall $name="tabs"
tabsList="[tag<currentTiddler>]"
default=<<__defaultTid__>>
state="$:/state/tab1"
class="tc-vertical"
template="$:/talha131/Template/VerticalTab"
retain="no"
/>
\end
How do I automatically apply it to all the tiddler that are a tag?
Say I create a new tag example
. Then,
example
should automatically get createdexample
tiddler should automatically show the tiddlers with the tag example
in a vertical tab listexample
tiddler with some other content then the vertical tag should stop showing. Instead it should the content I manually entered.Is it possible in TW?
I have a macro, which basically list all the tiddlers tagged with the current tiddler in a vertical tab list
How do I automatically apply it to all the tiddler that are a tag?
Say I create a new tag example. Then,
- A tiddler named example should automatically get created
- example tiddler should automatically show the tiddlers with the tag example in a vertical tab list
- If I edit the example tiddler with some other content then the vertical tag should stop showing. Instead it should the content I manually entered.
<$list filter="[tag<currentTiddler>limit[1]]" variable="is_a_tag"><$list filter="[<currentTiddler>!has[text]]" variable="has_no_text">
<$macrocall $name="tabs"
tabsList="[tag
<currentTiddler>]"
default=<<__defaultTid__>>
state="$:/state/tab1"
class="tc-vertical"
template="$:/talha131/Template/VerticalTab"
retain="no"
/>
</$list>
</$list>
Genius solution Eric!