Måns, I think if we ever put all your questions and the answers together in a cleaned up format, we will have the documentation for a TW power- users guide. Which is not a bad thing at all.
Ken Girard On Mar 26, 2:38 am, Måns <[email protected]> wrote: > Thanks Eric.. > I knew that it had to be a common task - just coulden't figure it out > by myself. > I've seen it in Dave Giffords NoBrainerNotes TopMenu. > He's made a button like this: <<newTiddler title: 'Enter the name for > your new master topic here' tag: 'Topics' label: 'New Master Topic' > text: {{store.getTiddlerText("SliderFrame")}} label: 'New Master > Topic'>> > I didn't understand how it worked... Now I do. > Thanks. > > YS Måns Mårtensson > > On 25 Mar., 20:22, Eric Shulman <[email protected]> wrote: > > > > 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 -~----------~----~----~----~------~----~------~--~---

