[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-22 Thread alex
Thanks Eric, Very good. Very very good in fact. So good it should be in the manual. I liked Måns' term 'semi-Socratic dialogues' - from 'the one where Eric advised Måns to read the manual' . Perhaps 'a personal non-linear semi-Socratic dialogue notepad' would be the innovation education is loo

[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-21 Thread Eric Shulman
> tiddler.place > where place can be title , text , tags Nope. 'tiddler' is one variable 'place' is a completely separate variable The 'tiddler' variable refers to a TiddlyWiki-defined data store object The 'place' variable refers to a browser-created DOM (Document Object Model) element Each o

[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-21 Thread Alex Hough
Eric, querying the 'thus' (see below) and the 'place' is the 'title' bit? so it goes tiddler.place where place can be title , text , tags Alex Below Note: there are two 'context variables' that are automatically defined by the TW core's macro processor so that they are available for use wit

[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-21 Thread Alex Hough
Some comnents This technique can save a lot of time. I've added similar divs to my viewtemplate, each different elements in a tiddler. The complexity of working with them is much reduced my questions, help and navigation are all now automatically written to the tiddler. It makes editing easier.

[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-21 Thread Alex Hough
Hi Eric, Thanks at lot it works (not surprisingly) There is a small typo: a confusion between double quotes - " - and single quotes - ' The second '' on Erics is not a " (double quote) They looks similar don't they - wrong 2 X ' - right 1x " Note: how difficult is is to type about quotes

[tw] Re: Removing scripts complexity from Tiddler contents and putting them

2009-09-21 Thread Eric Shulman
> The correct syntax for invoking this macro from a template is: Breaking it apart a bit: is the template syntax for invoking a TW macro. Everything inside the quotes is handled exactly the same as when you embed a macro in an individual tiddler using TW syntax: a space-separated list