Tags:
create new tag
, view all tags

Feature Proposal: Easy Setting of View Template

Motivation

Setting the view template is currently not easy and error prone. You need to:

  1. Go to More options
  2. Click on Edit Settings
  3. Very carefully type in 3 spaces star space Local VIEW_TEMPLATE = MyView
    ... where I must remember that topic MyViewTemplate must be typed as MyView

Step 3 can also be written in the topic directly, but most often we want this not to be visible or editable through topic text.

Description and Documentation

  • Provide a selectable list of available view templates
  • Ideally each view template has a name or short description
  • Selecting the view template saves the preference variable VIEW_TEMPLATE to the topic

Examples

Choose a view template:

Impact

Implementation

-- Contributors: ArthurClemens - 09 Mar 2008

Discussion

Have a look at AutoViewTemplatePlugin. It automatically sets the VIEW_TEMPLATE (and EDIT_TEMPLATE) according to the TWikiForm attached to it. So changing the form will automatically set the correct view given you adher to a certain naming convention.

-- MichaelDaum - 09 Mar 2008

In another sense, is this something that PreferencesPlugin should be extended to do?

-- SvenDowideit - 18 Mar 2008

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-03-18 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.