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
--
AndyGlew - 10 Oct 2006
Answer
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:
--
RafaelAlvarez - 10 Oct 2006
I have updated the documentation in
PatternSkinCustomization.
--
ArthurClemens - 15 Apr 2007