TT,

I think your framework idea is nice. But, how, practically, to do it?
>
>
Previously I posted a view template way of adding noto, however I just 
experimented with the following;

<h3> ``Introduction``</h3>
<<noto intro>>
<h3> ``Body``</h3>
<<noto body>>
<h3> ``Conclusion``</h3>
<<noto conclusion>>
This approach could be incorporated into a view template, which appears 
only if there is a Noto field or some other indicator.


You still need initialise, and the overhead of the tools visibly may be 
better behind a details widget

If mark does not work on this approach himself, (I urge him to keep it 
simple) but extendable, I can have a go after the design settles down.


Slightly off topic

This points to a reoccurring code pattern that needs to become an easy to 
use solution.

   - A View template that displays according to a condition list a tag or 
   field, or field content
   - The ability to toggle visibility on or off in the whole wiki (use View 
   template tag) or a specific tiddler override
   - A Button that appears on tiddlers according to a filter that sets the 
   condition required to activate the above view template

I have started building one, and all the techniques are known to me to 
drive each new button from a simple definition tiddler, its self created 
with a click.
The only thing that remains is identifying an effective way to generate 
multiple buttons with unique icons without making it a chore.

Regards
Tony

 

> I can give a serious example if you'd like help this.
>
> TT, x
>
>
>
> On Tuesday, 9 June 2020 01:15:11 UTC+2, TonyM wrote:
>>
>> TT,
>>
>> I shared an implementation of noto where you do not use the macro in the 
>> tiddler, instead it is called from the view template when it finds a noto 
>> field which contains the tag. Of course you can do this as well and it 
>> makes the tag name accessible in the noto field.
>>
>> Regards
>> Tony
>>
>> On Monday, June 8, 2020 at 7:14:00 PM UTC+10, TiddlyTweeter wrote:
>>>
>>> Ciao Mark
>>>
>>> *Question: Is The Tag Name Stored Anywhere Other Than In The Macro Call?*
>>>
>>> I.e. any place in addition to <<noto tagname>>
>>>
>>>
>>> Reason  I ask is in Inter-working with other tools I'd like to be able 
>>> to pass the tag name, but to do that I'd need somewhere to get it from. 
>>>
>>> Best wishes
>>> TT
>>>
>>>

-- 
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/3b87b7a2-a993-4575-a40f-9425b9c39505o%40googlegroups.com.

Reply via email to