Tags:
create new tag
view all tags

Question

How do I change the default new topic template that is used when someone creates a new topic (through a WikiWord or the 'Create New Topic' link?

I tried going to WebPreferences and creating WebTopicEditTemplate, but now that just appears as an additional selection from the templates list when I create a new topic.

I basically want to replace the default template so that the user has no choice but to start with my template.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: MS Windows XP
Web Browser: Firefox
Categories: Forms

-- TWikiGuest - 08 Aug 2007

Answer

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.

if the web in which you are creating a new topic has a WebTopicEditTemplate, that will be used as the 'default template'. If there is not WebTopicEditTemplate in that web, the default will be that defined in WebTopicEditTemplate.

I'm not sure there is a totally trivial way to stop a user from selecting a different template, other than modifying the WebTopicCreator

-- SvenDowideit - 21 Aug 2007

The site-level one is TWiki.WebTopicEditTemplate.

-- PeterThoeny - 28 Aug 2007

shouldn't it be over-ridden by the one in Main? so that the TWiki web remains readonly?

-- SvenDowideit - 28 Aug 2007

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 - 2007-08-28 - SvenDowideit
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.