r3 - 18 Mar 2008 - 07:14:22 - SvenDowideitYou are here: TWiki >  Codev Web > ChangeProposal > FeatureRequest > EasySettingOfViewTemplate
Tags:
, create new tag

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 | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo