Thank you, Tony. Your explanation helped me get this sorted out. I'm doing better now and have a couple of custom templates working, even using the TaggedTemplateTweak. I think I know just enough html and css to be dangerous to myself and others.
Thanks, Keith Silva On Nov 19, 12:12 am, Anthony Muscio <[email protected]> wrote: > The Tagged templatetweek is for the view and edit templates. See the Shadow > tiddlers ViewTemplate and EditTemplate which use a different formatting to > inside tiddlers. > > This command > <<newTiddler > label:"New Person" > tag:"person" > > > > Tagged Template Tweek Would thus tagged "person", > apply the template in personViewTemplate when viewing a tiddler tagged > person > apply the template in personEditTemplate when editing a tiddler tagged > person > > - These templates determine the layout of the viewing and editing process > not the content you are thinking about. You may not need the tagged template > tweek at all. > > As you want to pre-populate the new tiddler with your above content put it > in a tiddler called personContent and use the following to create the new > tiddler. > > <<newTiddler > label:"New Person" > tag:"person" > text:{{store.getTiddlerText("personContent")}} > > > > personContent will contain your "Template" above. > > I have not tested this again to ensure that the newtiddler command populates > the new tiddler with the content of personContent without first evaluating > it but you will see fairly quickly. > > Regards Tony > > 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 ? seewww.tiddlywiki.com > > On Fri, Nov 19, 2010 at 17:47, Keith Silva <[email protected]> wrote: > > Hi: > > > I have a tiddlywiki with only the EditFieldPlugin and > > TaggedTemplateTweakPlugin installed. I have a tiddler titled > > personViewTemplate as follows: > > > |Prefix, First Name & Middle Name<br><<edit fname>>|Last Name & > > Suffix<br><<edit lname>>| > > |Title<br><<edit persontitle>>| > > |Organization<br><<edit org>>| > > |Desk Phone<br><<edit phone>>|Extension<br><<edit ext>>| > > |Cell Phone<br><<edit cellphone>>| > > |Email<br><<edit email>>| > > |Notes<br><<edit notes 6>>| > > > This tiddler correctly displays a simple input form in view mode and > > the EditFieldPlugin correctly asks for confirmation as text is entered > > in the input boxes. > > > What is the proper syntax in a macro button to open this form as a > > template in view mode ready to accept user data entry? This macro > > opens a new tiddler in edit mode rather than view mode: > > > <<newTiddler > > label:"New Person" > > text:{{store.getTiddlerText("personViewTemplate")}} > > > I thought this version would trigger the TaggedTemplateTweakPlugin: > > > <<newTiddler > > label:"New Person" > > tag:"person" > > > Instead, it produces an empty new tiddler in edit mode which when > > closed produces this raw text in view mode: > > > |Prefix, First Name & Middle Name > > <>|Last Name & Suffix > > <>| |Title > > <>| |Organization > > <>| |Desk Phone > > <>|Extension > > <>| |Cell Phone > > <>| |Email > > <>| |Notes > > <>| > > > The above text in view mode seems to indicate that the > > TaggedTemplateTweakPlugin is being called, however the text is not > > accompanied by a tiddler command menu. > > > I hope this is an adequate explanation of my problem. I'm just trying > > to open an input form ready for user input. However, I will have 3 or > > 4 different input forms and I'd like to use the > > TaggedTemplateTweakPlugin to open the appropriate form base on a > > tiddler's tag (tags such as: person, project, issue). I have looked at > > UdoBorkowski's form and data plugins, but I would like to have this > > work with custom fields rather than JSON data because I think the > > custom fields will be easier to work with as my tiddlywiki grows. > > > Thanks, Keith Silva > > > -- > > 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.

