Hi Siniy-Kit
Making those core modifications isn't ideal; it's rather brittle because of the
possibility of future core enhancements. Is there any reason you can't use the
other technique I suggested, of transcluding an intermediate tiddler?
Best wishes
Jeremy
--
Jeremy Ruston
Hi, Jeremy. I think a lot, but I don't know how to make my own variant with
all fields reading. As far as I understand this function here $:/
core/modules/wiki.js
exports.renderTiddler = function(outputType,title,options) {
options = options || {};
var parser =
Hi Jeremy and Mark. Thank you for answers. In my old projects I use
var tovDostav= document.querySelector('[title="dost"]').getAttribute(
'price') ;
so I get fields value from DOM tree. But in my new project (on start of
loading) I have absolutely empty Tiddlywiki and all data is loaded
Hi Siniy-Kit
> Hi! When I use $tw.wiki.renderTiddler("text/plain","$:/SiteTitle") I get
> value of text field of tiddler $:/SiteTitle. But how can i get value of
> caption field?
>
> I try var sitetit="
> "+$tw.wiki.renderTiddler("text/plain","$:/SiteTitle",{field: "caption"}) but
> it dont
Hi! When I use $tw.wiki.renderTiddler("text/plain","$:/SiteTitle") I get
value of text field of tiddler $:/SiteTitle. But how can i get value of
caption field?
I try var sitetit="
"+$tw.wiki.renderTiddler("text/plain","$:/SiteTitle",{field: "caption"})
but it dont work
--
You received this
5 matches
Mail list logo