> Is there a way in edittemplate to create a custom edit tag field so
> that I can assign a tiddler a tag within a special category of tags?
> Kind of like a shortcut instead of doing formtemplate and
> datatemplate?
> Here's the setup: I'm doing a database of hymns. The list of tags will
> be normal. But a certain hymn might be found in different hymnals with
> different #s. So I'd like to create a special edit tags field for each
> hymnal, then type in the hymn number in that hymnbook's field in edit
> mode, then have a foreachtiddler code pull that number and put it into
> a table.

Add custom tiddler fields is very easy... First, add something like
this to your EditTemplate:

   <div class='editor' macro='edit othertags'></div>

Then, to access the stored value in a <<forEachTiddler>> macro, you
can write something like:

   tiddler.fields['othertags']

Note: the fieldname (e.g., 'othertags') must be all lower case.

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to