> I'd like to make a newJournalHere button which produces a tiddler with
> this date a tag and a macro in the textcontent...
> Can it be done??
>
> My own attempt - of course it didn't work - The qoutations break the
> code - and I need at least a third type of qoutationmark to be able to
> get it right...:-(
>
> <span class macro='newJournalHere label:SickTD tag:"NoteArchive"
> text:"<<notes heading:"NoteArkiv" tag:"NoteArkiv" suffix:"Note">>' ></
> span>

First, move the desired default text content into a separate tiddler,
e.g., [[BlankJournal]]:
---------------
<<notes heading:"NoteArkiv" tag:"NoteArkiv" suffix:"Note">>

Then, you can retrieve that content in the template by using a
'computed parameter', like this:

<span class macro='newJournalHere ...
   text:{{store.getTiddlerText("BlankJournal","")}}></span>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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