On Friday, March 3, 2017 at 2:12:28 PM UTC-5, Mark S. wrote:
>
> Looking at the documentation, it appears that you can provide a template
> for transcluding the content of the tabs. Then, inside the template, you
> can access the current tab as variable currentTab. Perhaps that is useful
> for what you want?
>
> Good luck,
> Mark
>
> On Friday, March 3, 2017 at 10:16:47 AM UTC-8, Lost Admin wrote:
>>
>> Further to my own question ...
>>
>> I can create a template to use with vertical tabs that consistes of
>> {{!!text}} and the button widget but when I use it with horizontal tabs, it
>> doesn't show the tab content it shows the parent tiddler content.
>>
>> On Friday, March 3, 2017 at 12:16:52 PM UTC-5, Lost Admin wrote:
>>>
>>> Hi all,
>>>
>>> I find I use tabs regularly for a couple of reason. One of which is
>>> quick access to lists I edit regularly. To simplify getting to the actual
>>> tiddler, I added a button to the bottom of the tiddler that opens the
>>> transcluded tiddler in edit mode.
>>>
>>> <$button actions="action-sendmessage" message="tm-edit-tiddler"
>>>> param=<<currentTab>> tootlip="Edit this tab">Edit Tab</$button>
>>>>
>>>
>>> I figured out that I can create a view template and add a filter to add
>>> the above button to the bottom of tiddlers with a specific tag. *Is
>>> there a way to filter based on whether the tiddler is being transcluded or
>>> not*? It would be nice to only include the button when the tiddler is
>>> being displayed in a tab.
>>>
>>
Yep. And it works great on vertical tabs but the exact same template breaks
on horizontal tabs.
--
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/3b568e55-460a-4a75-a80e-d1eb943979d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.