Here is some working examples which do not present the same errors but
demonstrates how "new tiddler directly to view template" does not pre-fill.
You have to use the Edit Template. This acts as a confirmation step when you
have to save. I have the menu option done/close so this is fairly quick.
In addition to opening prefilled in the view template it would be nice if
tiddlers could be created silently (not even opened in view template) - New
tiddlers could thus be used as switches.
Create with Opening View template (".newProjectTaskContent" not included in
tiddler)
<<newTiddler
label:"Any Work Project Comms"
title:"Project Comms"
text:{{store.getTiddlerText(".newProjectTaskContent")}}
tag:".projectTask"
tag:"=comms"
tag:"=place"
tag:":work"
template:.taskViewTemplate
>>
Create with Opening Edit template (".newProjectTaskContent" included in
tiddler)
<<newTiddler
label:"Any Work Project Comms"
title:"Project Comms"
text:{{store.getTiddlerText(".newProjectTaskContent")}}
tag:".projectTask"
tag:"=comms"
tag:"=place"
tag:":work"
template:.taskEditNewTemplate
>>
Tony M
Anthony Muscio
LaSourceProjects.org Open Source Sustainability Projects
LaSource.com.au <http://www.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, Nov 3, 2010 at 20:50, tiddlygrp <[email protected]> wrote:
> Hi,
>
> I have some problems related to the newTiddler macro. If I put the
> following in an empty tiddler:
>
> <<newTiddler
> label:"test 1"
> title:"test 1"
> text:"Hello world."
> template: ViewTemplate
> >>
> <<newTiddler
> template ViewTemplate
> label:"test 2"
> title:"test 2"
> text:"Hello world."
> >>
> <<newTiddler
> template: ViewTemplate
> label:"test 3"
> title:"test 3"
> text:"Hello world."
> >>
>
> I get different results (test 2 has no : between template -
> ViewTemplate). Test 2 gets a tag "ViewTemplate", and test 1 and test
> 2 actually don't create tiddlers.
>
> In any case my main problem is that it seems I can't create a
> prefilled saved tiddler. However I believe in
> http://trac.tiddlywiki.org/ticket/135
> "Extend the newTiddler macro to open the newly create tiddler in "view
> mode" (rather than in Edit mode)" the problem should have been
> solved. Is there something I do wrong, or should the ticket be
> reopened?
>
> yours,
>
> Vlak
>
>
>
> --
> 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]<tiddlywiki%[email protected]>
> .
> 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 [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.