Mark s,
Thanks for the suggestion, its appreciated. I did go down that path, but I
tried again, the template "subTiddlerView" now reads;
\define subtiddler() <<currentTiddler>> - <<currentTab>>
<$tiddler tiddler=<<subtiddler>>>
<$transclude mode="block" />
</$tiddler>
<<subtiddlertab $(currentTab)$>>
Unfortunately this still does not work, both <<subtiddler>> and
$(currentTab)$ give the required tiddler name when used/displayed and the
latter macro <<subtiddlertab $(currentTab)$>> works as required, but
nothing I seem to throw at the transclude seems to work. I have had it
working in another case where I use the tab
filter "[prefix[$(currentTiddler)$ - ]] +[sort[]]" to display the existing
(only) subtiddlers tiddlers.
On Friday, July 28, 2017 at 12:01:26 AM UTC+10, Mark S. wrote:
>
> What you're trying to do is concatenate text and pass it to a
> transclusion. Almost always when you want to concatenate you need a macro.
> It might be something as simple as:
>
> \define fulltitle() $(currentTiddler)$-$(currentTab)$
>
> Good luck,
> Mark
>
> On Thursday, July 27, 2017 at 3:01:48 AM UTC-7, TonyM wrote:
>>
>> Hi Folks,
>>
>> Im stumped. Some help would be appreciated.
>>
>> I have some tabs, generated using the content of a field !!objecttabs
>>
>> <$set name=objecttablist value={{!!objecttabs}}>
>>
>> @@.tabsstyle
>> <div>
>> <<tabs "$(objecttablist)$" "{{!!defaulttab}}" "" "" "subTiddlerView" >>
>> </div>
>> @@
>>
>> </$set>
>>
>> I am using the template parameter in tabs and this is my template
>> "subTiddlerView"
>>
>> !<<currentTiddler>> - <<currentTab>>
>>
>> <$tiddler tiddler=<<currentTab>>>
>> <$transclude mode="block" />
>> </$tiddler>
>>
>> <<subtiddlertab $(currentTab)$>>
>>
>> Because of the way I generated the Tab list <<currentTab>> does not have
>> the full name of the tiddlers I wish to transclude.
>> "<<currentTiddler>> - <<currentTab>>" does display the name of the
>> tiddlers I wish to Transclude.
>> The subsequent macro works with $(currentTab)$ = to the original items in
>> the original tiddlers field.
>>
>> Yet I have no idea how to pass "<<currentTiddler>> - <<currentTab>>" as
>> the tiddler name into a transclusion? such that the tiddlers content apears
>> in the tab.
>>
>> Thanks in Advance
>> TonyM
>>
>>
>>
--
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/169e66a2-b8c8-49e6-a3a2-035b19c18679%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.