N.B.:
Coding-related questions should be discussed on the developers group:
http://groups.google.com/group/TiddlyWikiDev/
> The TiddlyWiki is going to stay offline so different users can edit
> it.
Depending on the scenario (e.g. simultaneous editing is likely to be a
problem), you might consider using a server-side solution:
http://www.tiddlywiki.org/wiki/Server-Side_Implementations
> What i want to do on the wiki is to get that variable and put it as
> the value for <<option txtUserName >>
Simply assign the desired value to config.options.txtUserName -
TiddlyWiki then takes care of the rest.
> Then i would like to Disable that field so the user can only view it
> but not edit it.
You could write a macro similar to DOMTweaksPlugin* to do the following:
el.setAttribute("disabled", "disabled");
However, that would disable the input field only in the pre-defined
place, so it's prone to manipulation (users could place a regular
options macro call somewhere else).
Tweaking the options macro directly would be a little more complicated.
HTH.
-- F.
* http://www.tiddlytools.com/#DOMTweaksPlugin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---