This could work (didnt test though). But i was looking at using the inbuilt new-here functionality in TW5.
Thanks! Shash On Monday, December 22, 2014 10:32:49 PM UTC+5:30, Jed Carty wrote: > > It isn't exactly a new-here button, but in my wikis I generally have a > macro that I put at the bottom of (almost) every tiddler that has a button > with pretty much the same functionality. Then if the tiddler is transcluded > the button is still there. The code I use for the marco is here > http://inmysocks.tiddlyspot.com/#Code%20for%20the%20stuff%20at%20the%20bottom%20of%20most%20of%20the%20tiddlers > > It has more than just the new-here button function, so below is the > trimmed down macro that should work. > > The getProperTag macro part of this is there to deal with tiddlers that > have spaces in their titles. There may be a better way to do this, but I > haven't found it yet. If you want to use this just make a tiddler and copy > this into it and tag the tiddler $:/tags/Macro and then anywhere you want > to have a new-her type button put <<newHere>> > > You can of course change the name of the macro to whatever you want. The > macro will also put a button in the created tiddler. > > > > \define getProperTag() [[$(properTag)$]] > > \define newHere(title) > > --- > > <$tiddler tiddler=<<currentTiddler>>> > > <$set name="properTag" value={{!!title}}> > <$button>New Topic > <$action-sendmessage $message="tm-new-tiddler" title="New" > text="<<newHere>>" tags=<<getProperTag>>/> > </$button> > > </$set> > > </$tiddler> > > \end > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

