Hi, Måns. The problem is, that it's not the user himself who creates the dashboard, it's his "boss". So when the boss creates a new user, he has to also create the corresponding dashboard. I've also tried the stuff you and Eric did in thread http://groups.google.com/group/tiddlywiki/browse_thread/thread/2822ef3683f3f4cb/9420962722c79303 but it didn't work. Or at least I couldn't get it to work.
w On Sep 13, 12:08 am, Måns <[email protected]> wrote: > Hi whatever > > I think you'll find the answer in this line:> var > title=(tiddler.title+alwaysTitle); > > It seems like it fetches the title from the tiddler from where it is > run (tiddler.title) and adds the alwaysTitle "var alwaysTitle="'s > Dashboard". > Therefore this happens: > > > when I invoke it using <<tiddler [New Buttons/ > > NewUserDashboardSpecific]]>> it produces the title "New Buttons/ > > NewUserDashboardSpecific's Dashboard" instead of, say, "Jake's > > Dashboard". But if I put it in the Jake tiddler, it works fine. > > If you want it always to fetch the current users name as title you > must (somehow) replace "tiddler.title" with > "config.options.txtUserName, ". > > I would run the script with a substitutionsmarker $1 for "var > title=($1+alwaysTitle);" and try to insert the username by running a > tiddlermacro: > <<tiddler ScriptTiddlerName with:{{config.options.txtUserName}}>> - > However I'm no programmer - and I'm sure someone else, who knows what > he's doing, might change the titlecodeline from "var > title=(tiddler.title+alwaysTitle);" to something like "var > title=(config.options.txtUserName+alwaysTitle);" and make it work... > (I haven't tested it) > Try it out - or wait for a true TwWizard to give you the *correct* > answer.. :-) > > Happy hacking Måns Mårtensson -- 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.

