[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-23 Thread twgrp
Tobias, you're right. I take back my last comment.
:-)

On Aug 22, 9:31 am, Tobias Beer  wrote:
> Hi everyone,
>
> I don't quite understand in what sense this would be beneficial over
> the way things currently work.
>
> Why bloating your template with input fields in order to enter a title
> and then hit "new" as opposed to hitting new and then entering a title
> while also being able to input contents and tags? Is it that you just
> want to create an empty tiddler called xyz without further editiing it
> right away? ...that would indeed save an extra step, but add another
> if you actually did want to enter some content and tags, as you'd have
> at least one more additional click to open the tiddler in edit-mode.
>
> Besides, as Anthony suggested, that functionality is already present
> in GotoPlugin ...which is my default for searching tiddler titles and
> content for all wiki's that I create.
>
> Tobias.
>
> On 21 Aug., 14:48, twgrp  wrote:
>
> > On Aug 17, 3:29 pm, octw  wrote:
>
> > > I'm wondering if it is possible to put an input box in front of the
> > > 'new tiddler' button, so one can write down some words in the box then
> > > hit the 'new tiddler' button to open the tiddler with the title 'some
> > > words'?
>
> > That should even be default IMO. Saves an extra step of work and just
> > makes more sense.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-22 Thread Tobias Beer
Hi everyone,

I don't quite understand in what sense this would be beneficial over
the way things currently work.

Why bloating your template with input fields in order to enter a title
and then hit "new" as opposed to hitting new and then entering a title
while also being able to input contents and tags? Is it that you just
want to create an empty tiddler called xyz without further editiing it
right away? ...that would indeed save an extra step, but add another
if you actually did want to enter some content and tags, as you'd have
at least one more additional click to open the tiddler in edit-mode.

Besides, as Anthony suggested, that functionality is already present
in GotoPlugin ...which is my default for searching tiddler titles and
content for all wiki's that I create.

Tobias.

On 21 Aug., 14:48, twgrp  wrote:
> On Aug 17, 3:29 pm, octw  wrote:
>
> > I'm wondering if it is possible to put an input box in front of the
> > 'new tiddler' button, so one can write down some words in the box then
> > hit the 'new tiddler' button to open the tiddler with the title 'some
> > words'?
>
> That should even be default IMO. Saves an extra step of work and just
> makes more sense.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-21 Thread twgrp
On Aug 17, 3:29 pm, octw  wrote:
> I'm wondering if it is possible to put an input box in front of the
> 'new tiddler' button, so one can write down some words in the box then
> hit the 'new tiddler' button to open the tiddler with the title 'some
> words'?

That should even be default IMO. Saves an extra step of work and just
makes more sense.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-17 Thread octw
Further one.

I followed all the steps Eric said. It worked. But the input box
displayed a word 'undefined' in it.
I'd like to change it to the date of today as the default value. So I
add one line in 'SystemTweak':

config.options.txtNewTiddlerName = <>;

This cause an error when reload my TW: SyntaxError: illegal XML
character

Any ideas?

octw

On Aug 18, 9:16 am, octw  wrote:
> Great thanks Eric, you are the man.
>
> Cheers,
> octw
>
> On 8月17日, 下午10時48分, Eric Shulman  wrote:
>
> > > I'm wondering if it is possible to put an input box in front of the
> > > 'new tiddler' button, so one can write down some words in the box then
> > > hit the 'new tiddler' button to open the tiddler with the title 'some
> > > words'?
>
> > This *can* be done.
>
> > 1) create an input field using:
> >    <>
> > The *name* of the option is arbitrary.  The value entered into the
> > input field is stored in
> >    config.options.txtNewTiddlerName
>
> > 2) create the desired newTiddler macro:
> >    <>
> > Note use of the "title:... *evaluated* parameter.  This retrieves the
> > value stored by the <> macro and uses it as the value for the
> > new tiddler.
>
> > HOWEVER
>
> > The <> macro parameters are evaluated when the macro is
> > initially *rendered*, not when the resulting command link is clicked
> > upon.  Thus, by the time you enter the desired new tiddler title into
> > the input field, the value of the title:{{...}} parameter has already
> > been set.
>
> > Fortunately, I've written a plugin that enables *re-calculation* of
> > the macro parameters whenever you CLICK on the rendered command link:
> >    http://www.TiddlyTools.com/#ClickifyPlugin
> > To use, simply change
> >    <>
> > to
> >    <>
>
> > 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 tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-17 Thread octw
Great thanks Eric, you are the man.

Cheers,
octw

On 8月17日, 下午10時48分, Eric Shulman  wrote:
> > I'm wondering if it is possible to put an input box in front of the
> > 'new tiddler' button, so one can write down some words in the box then
> > hit the 'new tiddler' button to open the tiddler with the title 'some
> > words'?
>
> This *can* be done.
>
> 1) create an input field using:
>    <>
> The *name* of the option is arbitrary.  The value entered into the
> input field is stored in
>    config.options.txtNewTiddlerName
>
> 2) create the desired newTiddler macro:
>    <>
> Note use of the "title:... *evaluated* parameter.  This retrieves the
> value stored by the <> macro and uses it as the value for the
> new tiddler.
>
> HOWEVER
>
> The <> macro parameters are evaluated when the macro is
> initially *rendered*, not when the resulting command link is clicked
> upon.  Thus, by the time you enter the desired new tiddler title into
> the input field, the value of the title:{{...}} parameter has already
> been set.
>
> Fortunately, I've written a plugin that enables *re-calculation* of
> the macro parameters whenever you CLICK on the rendered command link:
>    http://www.TiddlyTools.com/#ClickifyPlugin
> To use, simply change
>    <>
> to
>    <>
>
> 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 tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Write down a title and hit create to create a new tiddler

2010-08-17 Thread Anthony Muscio
Of course you could use Erics great GotoPlugin.

http://www.TiddlyTools.com/#GotoPlugin

If there is no matching tiddler is found you just hit enter and it creates
the tiddler. This will not use any parameters otherwise possible in a custom
new tiddler but, if your tiddlers are defined more by how they are tagged
than what they contain you can use
http://www.TiddlyTools.com/#TaggedTemplateTweakto
control the "look" of different tiddlers by tag.

Eric,

I wonder if in GoTo Plugin using the filter
eg;
<>

Any Tiddler created this way could be automatically tagged by the filter eg
above "plugininfo"

This makes the GoTo plugin a smart "New Tiddler" giving the users the
ability to avoid duplicates and see similar names first.

eg;
<>

Would allow you to search the titles of all reference tiddlers, optionaly
search all tiddlers for research in the content or create a tiddlers tagged
reference.

Tony

Anthony Muscio
LaSourceProjects.org Open Source Sustainability Projects
LaSource.com.au  Sustainable Products and
Business
SerendipityIdeas.com IT hints and Tips and Website hosting
Like personal Web 2.0 ? see www.tiddlywiki.com



On Wed, Aug 18, 2010 at 00:48, Eric Shulman  wrote:

> > I'm wondering if it is possible to put an input box in front of the
> > 'new tiddler' button, so one can write down some words in the box then
> > hit the 'new tiddler' button to open the tiddler with the title 'some
> > words'?
>
> This *can* be done.
>
>
> 1) create an input field using:
>   <>
> The *name* of the option is arbitrary.  The value entered into the
> input field is stored in
>   config.options.txtNewTiddlerName
>
> 2) create the desired newTiddler macro:
>   <>
> Note use of the "title:... *evaluated* parameter.  This retrieves the
> value stored by the <> macro and uses it as the value for the
> new tiddler.
>
> HOWEVER
>
> The <> macro parameters are evaluated when the macro is
> initially *rendered*, not when the resulting command link is clicked
> upon.  Thus, by the time you enter the desired new tiddler title into
> the input field, the value of the title:{{...}} parameter has already
> been set.
>
> Fortunately, I've written a plugin that enables *re-calculation* of
> the macro parameters whenever you CLICK on the rendered command link:
>   http://www.TiddlyTools.com/#ClickifyPlugin
> To use, simply change
>   <>
> to
>   <>
>
> 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 tiddlyw...@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Write down a title and hit create to create a new tiddler

2010-08-17 Thread Eric Shulman
> I'm wondering if it is possible to put an input box in front of the
> 'new tiddler' button, so one can write down some words in the box then
> hit the 'new tiddler' button to open the tiddler with the title 'some
> words'?

This *can* be done.


1) create an input field using:
   <>
The *name* of the option is arbitrary.  The value entered into the
input field is stored in
   config.options.txtNewTiddlerName

2) create the desired newTiddler macro:
   <>
Note use of the "title:... *evaluated* parameter.  This retrieves the
value stored by the <> macro and uses it as the value for the
new tiddler.

HOWEVER

The <> macro parameters are evaluated when the macro is
initially *rendered*, not when the resulting command link is clicked
upon.  Thus, by the time you enter the desired new tiddler title into
the input field, the value of the title:{{...}} parameter has already
been set.

Fortunately, I've written a plugin that enables *re-calculation* of
the macro parameters whenever you CLICK on the rendered command link:
   http://www.TiddlyTools.com/#ClickifyPlugin
To use, simply change
   <>
to
   <>

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 tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.