Quote: Eric
The current TiddlyWiki username value is stored internally in javascript as config.options.txtUserName.
To display/modify the value using an edit field embedded in tiddler content, you can use the core's built-in
An alternative option could be to:
1) create a tiddler named 'ShowValue' and containing only the text '$1'.
2) in the title-tiddler, you enter:
The current TiddlyWiki username value is stored internally in javascript as config.options.txtUserName.
To display/modify the value using an edit field embedded in tiddler content, you can use the core's built-in
<<option>> macro, like this:<<option txtUserName>>However, to display the value directly as inline tiddler content (e.g. as part of the SiteTitle or SiteSubtitle), using WikifyPlugin you can write:
<<wikify "%0" {{config.options.txtUserName}}>>
or use the InlineJavascriptPlugin to write:<script>return config.options.txtUserName</script>
Simpler Alternative
Quote: KrissAn alternative option could be to:
1) create a tiddler named 'ShowValue' and containing only the text '$1'.
2) in the title-tiddler, you enter:
<<tiddler ShowValue with:{{config.options.txtUserName}}>>
By changing the value after 'with:' you can now call this ShowValue-tiddler for any kind of value or expression.