Just wanted to mention I think the new Javascript mid-level macro implementation in the new renderer is looking very useful Jeremy! .. it should be a good entry point for people getting into javascript via TW5.
Looking forward to seeing the new rendering work go live. I have been stalled in my TW5 development work at the moment while I wait for it ;) ... but I have a few plugins in mind once it is stable. One of which is a plugin for creating multiple fields (with possible default entries) for a tiddler at the same time. This will gather all data-tiddlers (dictionary or json) marked with a $:/fieldTemplate tag and display them in a drop down box at the bottom of the tiddler editing template (right after the add field line). If you choose one and select the "add" button it will read the relevant data tiddler, add the fields to the tiddler you are editing using the names from the data tiddler and then populate them with any relevant data from the data tiddler. So if your dictionary looked like this... bookprice: $5.00 bookisbn: bookweight: 0.5kg storelocation: warehouse It would create the fields as bookisbn, bookprice etc ... and for those with default content it would place the relevant content, so bookprice default would be $5.00 etc I found I needed this "structure" when I wanted to create tiddlers with a lot of repeated information, with only minor variance. For the example about, the book description and title would be the main things that changed and would be stored in the tiddler text and title respectively. The remainder of the information was needed for filtering, but would not vary too much from the defaults. I also found when entering the field names etc a lot, it involved a lot of slow repeat typing of field names and then default data. This solved that problem I had to extend the fieldmangler widget to handle adding multiple fields and their default data, but it was a minor change and I called it $fieldmanglerext. I have a version working with the old renderer, helped me input lots of tiddlers accurately and quickly, just need to amend it for use with the new renderer. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
