Hi again
The 'with-argument' doesn't seem to work inside the tabs macro *but*
it does outside - therefore you can do this*1 - and put it in the
viewtemplate*2 to be shown in tiddlers tagged with project, if you
implement ie HideWhenPlugin:
*1 [[ProjectInfo]]
<<tabs txtFavourite
Tasks 'Project tasks' "ProjectInfo##Tasks"
Links 'Project-related links' "ProjectInfo##Links"
Documents 'Important documents' "ProjectInfo##Documents"
Minutes 'Meeting minutes' "ProjectInfo##Minutes"
Notes 'Project notes' "ProjectInfo##Notes"
>>
/%
!Tasks
<<tiddler ProjectInfo##tasks with: {{tiddler.title}}>>
!end
!tasks
<<matchTags *%0 "" "$1" AND task>>
!end
!Links
<<tiddler ProjectInfo##links with: {{tiddler.title}}>>
!end
!links
<<tiddler [[$1##Links]]>>
!end
!Documents
<<tiddler ProjectInfo##documents with: {{tiddler.title}}>>
!end
!documents
<<tiddler [[$1##Documents]]>>
!end
!Minutes
<<tiddler ProjectInfo##minutes with: {{tiddler.title}}>>
!end
!minutes
<<matchTags *%0 "" "$1" AND meeting>>
!end
!Notes
<<tiddler ProjectInfo##notes with: {{tiddler.title}}>>
!end
!notes
<<matchTags *%0 "" "$1" AND note>>
!end %/
*2
[[ViewTemplate]]
<div class='tab' macro='tiddler ProjectInfo'></div>
It actually works :-)
Regards Måns Mårtensson
--
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.