Eric, that is exactly the issue, its the *behavior* of what happens
when you click on a link that has no tiddler associated with it yet. I
want to simply create the new tiddler and go straight into edit mode
of the tiddler. Perhaps i was not quite clear when i described my
situation.

I will give your solution a try, thanks for the information.

Regards, Bill

On May 31, 4:23 am, Eric Shulman <[email protected]> wrote:
> The behavior when a link is clicked, whether the tiddler exists or
> not, it to *display* the tiddler in the story column.  Once displayed,
> it is then a separate user-made decision to actually edit that
> tiddler.  Of course, if the tiddler doesn't exist, there's generally
> nothing to display (hence, the default "double-click to create"
> text).  However, this is not always the case.
>
> For example, some people modify the default text to provide
> alternative informational messages (e.g., step-by-step instructions
> for creating/editing tiddlers) to help their user's learn how to use
> the document more effectively, and some TW documents use custom
> ViewTemplate definitions that can be used to set tiddler values
> *without* entering "edit mode" (e.g,  http://www.tiddlytools.com/#QuickNote)
>
> In addition, this plugin:
>    http://www.TiddlyTools.com/#MissingTiddlersPlugin
> can display alternative outputs for particular tiddler titles (or
> patterns of tiddler title) so that different missing tiddlers can have
> different behaviors.  This enhanced handling is triggered by modifying
> the default tiddler text so that a custom macro,
> <<missingTiddlers ...>>, is rendered any time a non-existing tiddler
> is displayed.
>
> With the above issues in mind, I think perhaps that others have mis-
> interpreted your question, and that you are actually asking for a
> change in the *behavior* when a non-existing tiddler is displayed
> rather than simply wanting to change or eliminate the default text.
>
> > Now when i click on the billtest link...
> > Why does it not create the tiddler and open the new tiddler in edit
> > mode?
>
> The behavior you suggest seems reasonable... as a custom alternative
> to the existing default handling.
>
> First, you'll need
>    http://www.TiddlyTools.com/#InlineJavascriptPlugin
>
> Then, create a tiddler, tagged with 'systemConfig', containing:
> ------------
> config.views.wikified.defaultText ='<script> var
> here=story.findContainingTiddler(place);
> story.displayTiddler(here.previousSibling,here.getAttribute("tiddler"),DEFA 
> ULT_EDIT_TEMPLATE);
> </script>';
> ------------
> note: ignore GoogleGroups word-wrapping.. the above should be all on
> *one line*
>
> Save-and-reload your document.  From then on, whenever the default
> text for a non-existing tiddler is displayed, the above 'inline
> script' will be invoked to automatically re-display the tiddler using
> the EditTemplate (i.e. start "edit mode")
>
> That should do it....
>
> 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.

Reply via email to