I also tried to put it in the CustomEditTemplate -
Like this:
<span class macro='newTiddler title: {{tiddler.fields.fullname}} tag:
{{tiddler.fields.title+' SomeTag'}} label: 'New AddressBook'
text: {{store.getTiddlerText("AddressTabs")}} >> ' </span>
But it doesn't work quite as I expected.
The title is right and the formtemplate gets inserted as it should -
but the the button label is just "New tiddler" and tag becomes:
{{tiddler.fields.title+
I'm not sure if I just have to change qoutationstype or if these
parameters just aren't available in editmode??
YS Måns Mårtensson
On 29 Mar., 06:59, Måns <[email protected]> wrote:
> Thank you - Eric
>
> It works very well - and a new obstacle turned up - as usual :-)
>
> I also tried to use NewHerePlugin to automatically insert tiddlertitle
> as tag - but for some reason the plugin doesn't work in my TW after I
> have upgraded to 2.5 - I think I have lost a vital component for it to
> work in my process of "cleaning up"..
>
> Therefore I tried to use the same procedure with tags
> tag:{{tiddler.title+'SomeTagName'}}
> But what I really wanted (for tags) was two different tags:
> ParentTiddlerTitle and SomeTagName.
>
> How do I separate them??
>
> YS Måns Mårtensson
>
> On 29 Mar., 05:54, Eric Shulman <[email protected]> wrote:
>
> > > I'd like to combine {{tiddler.title}} with a suffix like this:
>
> > {{tiddler.title}} is a "computed parameter" that is simply returning
> > the value of the tiddler.title variable, which is just a javascript
> > text string and thus can also be used to construct more complex
> > javascript text expressions. For example, appending some literal text
> > (such as "-") to the end of the title, like this:
>
> > <<newTiddler ... title:{{tiddler.title+'-'}} ... >>
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---