Diego,

If you wrote a helper macro that you use to invoke you templates, you could 
use your macro where ever you want to use a template, and later you can 
search for than macros name in your tiddlers, to get a list of all tiddler 
using your template helper macro.

You could also introduce another practice, like I do for my macro 
definitions. In any tiddler that defines one or more macros I create a 
field macro-macroname with the content the syntax eg "<<macroname 
tiddlername>> this macro does x to tiddlername.". I then do a search for 
all fields with the prefix "macro-" and display where they were found and 
the content.

You could do the same for all uses of a template eg 
uses-template-templatename (optionaly containing the full tiddler name of 
that template) and on the template tiddler itself have a field 
tamplate-name=templatename

Regards
Tony



On Wednesday, December 12, 2018 at 8:07:33 AM UTC+11, Diego Mesa wrote:
>
> Hey Jeremy,
>
> Thanks for your response. I do indeed use that all the time, but that 
> shows me everything "active" where "active" means "tagged with" view 
> template. I was thinking of something more like "active" meaning it 
> actually DRAWS something on this tiddler. 
>
>
> On Tuesday, December 11, 2018 at 3:05:10 PM UTC-6, Jeremy Ruston wrote:
>>
>> Hi Diego
>>
>> Frequently, something like the following issue happens:
>>
>> Ill make a template that has any tiddler tagged with "Scientist" show any 
>> tiddlers tagged with "Publications" in its body. Much later, I'll decide I 
>> want this functionality to work for authors as well - now I have to go back 
>> and remember what template did that, etc. 
>>
>> Proper naming and separation of templates helps with this of course, but 
>> I was thinking if there is any way to have a tab in the tiddler info pane 
>> that shows what "active" templates are actually rendering/drawing in this 
>> tiddler, with a link for easy access? 
>>
>>
>> I think this is indeed mostly a matter of using a good naming convention, 
>> but one helpful trick is that if you open any tiddler with the tag 
>> $:/tags/ViewTemplate you’ll be able to click on the tag pill to get a 
>> listing of all the active view template segments.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>
>>
>> -- 
>> 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 tiddlywiki+...@googlegroups.com.
>> To post to this group, send email to tiddl...@googlegroups.com.
>> 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/c8c79d8c-0969-4d2c-81a0-4eaada9b300b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/c8c79d8c-0969-4d2c-81a0-4eaada9b300b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/f0e58625-0246-416f-931b-241dcc517a86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to