Tags:
create new tag
, view all tags

Question

I want to place (display) the form of a twiki page at the top of the page, rather than the bootom.

Q: how do I do this?

I have been trying to accomplish this using templates, to little avail.

Reason: issue tracking system. I do not want to force the issue page to be completely a form, as the TWiki bug tracking sysstem here does. I want to have a twiki editable page (and the errors the user gets when embedding arbitrary TWiki text in the Description box on this site are annoying).

But I want the user to encounter the form first, rather than last.

Currently, when editing a page the form is encountered after the text box for the page content. This often is a screen down. Many users d not bother to scroll.

Similarly, when viewing a page I want the form to be first, including stuff such as problem report status.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux (SuSE)
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms

-- AndyGlew - 10 Oct 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

IIRC, the right way is to have a VIEW_TEMPLATE setting in the topic (more topic actions -> edit settings in PatternSkin), that points to the right template.

Check TWiki05x01.NewUserTemplate, Main.PatternSkinUserViewTemplate and Main.UserViewTemplate in the TWiki 4 distro for an example.

In our issue tracking system, I follow a different approach: Set all the form fields as "Hidden", and create a nicely formatted table at the top of the topic using the FORMFIELD tag to display the proper fields. Also, put a link in the table to quickly edit the form values (using the action parameter of the edit script).

example:

SupportStatus AnsweredQuestions
Edit this form only

-- RafaelAlvarez - 10 Oct 2006

I have updated the documentation in PatternSkinCustomization.

-- ArthurClemens - 15 Apr 2007

 
Change status to:
Topic revision: r8 - 2007-04-15 - ArthurClemens
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.