It does indeed! Thank you. :D

w

On Sep 13, 4:24 pm, PMario <[email protected]> wrote:
> Sorry typos, and to less thinking.
> I had an other idea
> <<tiddler "ScriptTiddler" with: {{tiddler.title}}>>
>
> in the script tiddler replace this
> var title=(tiddler.title+alwaysTitle);
> by
> var title=("$1"+alwaysTitle);
>
> does it do, what you want?
> -m
>
> On Sep 13, 2:52 pm, whatever <[email protected]> wrote:
>
> > Hi!
> > Måns, the point of the button is to avoid the popup. :D That was what
> > I had before I tried the above script.
> > Mario, I get the "ReferenceError: findContainingTidder is not
> > defined". I tried this:
> > var tid=findContainingTidder();
> > var title=(tid+alwaysTitle);
>
> > Am I doing it wrong?
> > Also, I copied the snipped from the link you gave me and it didn't
> > work. I get a blank.
>
> > w
>
> > On Sep 13, 10:20 am, PMario <[email protected]> wrote:
>
> > > Have you tried this?
> > > var tid = findContainingTidder();
>
> > > If new tiddle is in the sidebar, it wont work.
> > > not tested.
> > > -mhttp://www.tiddlytools.com/insideTW/#Story.prototype.findContainingTi...
>
> > > On Sep 12, 10:27 pm, whatever <[email protected]> wrote:
>
> > > > Hi!
> > > > I have a bunch of users and each user requires a dashboard. Each
> > > > user's properties are in a user's tiddler and the dashboard is a
> > > > separate tiddler. I'm using fET to check if the dashboard exists and
> > > > if it doesn't, it displays a button to create the dashboard.
> > > > The button consists of the following script:
> > > > <script label="New user dashboard" title="Create a new User
> > > > Dashboard">
> > > > var alwaysTag="user_dashboard";
> > > > var alwaysTitle="'s Dashboard";
> > > > var title=(tiddler.title+alwaysTitle);
> > > > var tags=(alwaysTag);
> > > > store.saveTiddler(
> > > >   title,
> > > >   title,
> > > >   "",
> > > >   config.options.txtUserName,
> > > >   new Date(),
> > > >   tags);
> > > > story.displayTiddler(null,title);
> > > > </script>
> > > > The problem is, that the is located in the New Buttons tiddler and
> > > > 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.
> > > > What am I missing?
> > > > w

-- 
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.

Reply via email to