Hi Bill, Put the view macro in a tiddler <<view server.host>>
Or in your ViewTemplate like this : ... some text ... <div class='subtitle'> <span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>) <span macro='view server.host wikified'></span> <!-- NEW --> </div> .. some more text ... regards Mario On Jun 11, 10:35 pm, wgw <[email protected]> wrote: > Thanks for the remarks! > > I am making some progress (firebug is your friend!). Got around a > stumbling block with "store." (did not understand that when in > firebug, you have to do something like: > store.getTiddler('MyTiddlerName').title ) So I made this macro (my > first!), which seems to work in the tiddler body: > > //{{{ > config.macros.sayHost = { > handler: function (place, macroName, params, wikifier, paramString, > tiddler) > wikify(tiddler.fields['server.host'], place); > } > }; > //}}} > > Also looked at jQuery -- looks like it can do amazing tricks with tw; > I could rewrite that macro more directly with jQuery. > > I say "more directly" simply because with jQuery, as far as I can > tell, there is no distinction between extended fields and attributes, > like tags. So I can just look at the tiddler div and "get" (maybe > "put" too) whatever seems to be there. > > Now, on to trying to figure out how to get my host macro into the tags > section. Can macros run there? Again, it looks like jq could do that > in a snap. > > Thanks again for your suggestion. > > Bill Winder > > On Jun 11, 8:52 am, Knightnet <[email protected]> wrote: > > > > > > > > > Hi, I'm rather rusty and out of date on TW but the following link > > might at least get you part way:http://tiddlywiki.org/wiki/Dev:SetTiddlerTag > > > Also store.getValue(tiddler,"fieldname") gets you the value of a > > custom field. > > > Regards, Julian Knight -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev?hl=en.
