create new tag
, view all tags


I've been scouring the docco for a week and can't find a good answer to this one.

One of the things we're using TWiki for is project managment. As part of the project management documentation we have meeting minutes, agendas, and such. Each with a different layout.

We would like to be able to select a template when creating new pages so that the new page is partially filled in to a standard format. Now that's not hard if every page is to have that same standard format, but we want to be able to select, at page creation time, what template to use.

There is the NamespaceManagerAddOn which looks like it might do what we want, but I don't really understand the difference between plugins and addons and the installation looks like it needs to modify things that will get overwritten during the next upgrade so I'm a bit wary about installing it.

With Cairo we used to use a form that had data outside the form table in the form topic. That data was inserted into the page to be created doing pretty much what we want. The forms in Dakar though don't seem to do this.

Is the addon the only way to do this or is that an alternative?


TWiki version: TWikiRelease04x00x05
TWiki plugins: SpreadSheetPlugin , ActionTrackerPlugin, CalendarPlugin, ChartPlugin, CommentPlugin, EasyTimelinePlugin, EditTablePlugin, HolidaylistPlugin, InterwikiPlugin, LdapNgPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TWikiDrawPlugin, TablePlugin, TreePlugin, WysiwygPlugin
Server OS: FreeBSD 6.1-RELEASE
Web server: Apache 2.0.59 with mod_perl2 2.0.2.
Perl version: 5.8.8
Client OS: MacOS X 10.4.8
Web Browser: Camino 1.0.3.
Categories: Forms, Missing functionality, Documentation

-- CarlMakin - 09 Nov 2006


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

How about creating the new page with a HTML form. Something like this (look at the raw text for the details):

Topic Name:
Topic Template:
  • Steps: Fill in the above form. Click the "Create the new topic" button. Add any other details on the new edit page and save changes.

-- RickMach - 18 Nov 2006

This functionality is built in the to be released "Create new topic" page for TWiki 4.1, and can be copied from our development version. It links to a new topic named WebTemplateTopics.

-- ArthurClemens - 18 Nov 2006

The thing you need to do is to change the WebTopicCreator to fit your needs because it is responsible for the creating process. You need to add this into the WebTopicCreator-topic:

 <select  name="templatetopic" size="5">%SEARCH{"TemplateNew" scope="topic" web="%WEB%, Main" format=" <option value=\"$web.$topic\">$topic</option>" }%</select>
I named all my templates "TemplateNew*, so that they are automatically listed here.

-- MarijanaPrusina - 12 Dec 2006

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-12-12 - MarijanaPrusina
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.