This isn't quite what you're asking, but I just want to make sure that you
(and/or newcomers who find this thread) are aware of the existing way of
getting something more descriptive (or concise, etc.) into tabs and lists
(etc.) — namely, the caption field:
By default, if the caption field for a tiddler has a value, your tab set
will use that field to label the tabs; if there is no such field, it will
show the title.
Are you using the caption field for some other purpose, so that you cannot
use it for what you're calling "description"?
If you already have put work into populating a "description" field, there's
also a utility here somewhere in this group for renaming fields. Follow up
if that would be useful.
-Springer
On Monday, June 1, 2020 at 4:17:13 AM UTC-4, Zia Khan wrote:
>
> Hi,
> I have this code for tabs in my tiddlywiki. I would like show description
> field instead of the name of the tidddly.
>
> can someone please guide me how i can do this?
>
> here is the code for tabs
>
>
> ========
>
> <$list filter="[tag[Objectives]!sort[created]limit[1]]">
> <$macrocall $name="tabs"
> tabsList="[tag[Objectives]sort[objective_sort]]" default={{!!title}}
> class="tc-vertical" template="ReleaseTemplate" />
> </$list>
>
> ========
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6d9e73e4-05cf-44d1-9a73-2d67205060dc%40googlegroups.com.