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 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.

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 TWiki06x01.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:
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-04-15 - ArthurClemens
 
  • 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.