> I´m using tagglytagging for having a kind of sitemap with hierarchy in
> tags. I want to be able to display my defaulttiddlers as tabs, having
> some tiddlers of the sitemap displayed, the problem is that the main
> tiddlers (hierarchy up) don´t have text, only tags and in tab form the
> tags doesn´t show up. Is it possible to display tags inside a tiddler
> in tab form?

The tags on a given tiddler can be displayed using:
   <<tags TiddlerName>>

The tiddlers tagged with a given value can be displayed using:
   <<tagging tagvalue>>

The tricky part... is that you want to use these macros within tabs.
But the <<tabs>> macro only lets you show whole *tiddlers* in the
tabs.  So, how can you get just the macro output?  One solution is to
use separate tiddlers or *hidden sections* to wrap the macro calls,
and then references those sections within the <<tabs>> macro, like
this:

/%
!section1
<<tags Tiddler1>>
!section2
<<tags Tiddler2>>
!section3
...
!end
%/<<tags chkMySiteMap
   section1label section1tip ThisTiddler##section1
   section2label section2tip ThisTiddler##section2
   section3label section3tip ThisTiddler##section3>>

Of course, this is not very convenient or flexible, as it requires
"hard coding" the tabset and the hidden sections.  A better solution
(though outside the scope of this response) would be to write a custom
script that generates the tabset and hidden sections into tiddler and
then you just view that tiddler.

You can see some examples of "tabset-generating code" here:
   http://www.TiddlyTools.com/#ShowTabsForTags
and
   http://www.TiddlyTools.com/#AdvancedOptionsPlugin

Note: unfortunately, while both code examples generate tabsets,
neither one uses hidden sections to render macro content, so some
additional code work is needed to adapt it to your purposes...
nonetheless, this should hopefully point you in the right direction.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to