This is a SupplementalDocument
topic which is not
included with the official TWiki distribution. Please help maintain high quality documentation by fixing any errors or incomplete content. Put questions and suggestions concerning the documentation
of this topic in the comments section below
! Use the Support
web for problems you are having using TWiki.
How do I move the form to the top of the page?
There are several different ways to implement this change.
Globally via Skin Template
The easiest way to do this is to define a new TWiki skin
that has the form before the text, instead of after it. The easiest way to define a new skin is to derive your new skin from an existing skin. In the following we will derive a new skin
skin. This is specific to TWiki 4.0 and later.
For information on how to create a custom template, read PatternSkinCustomization
Alternative: No Server-side customization needed
You can modify the look of the TWIki user pages (in the Main web) without editing the back-end template files. Change Main.PatternSkinUserViewTemplate
. See Support.HowToMoveUserFormBox
Make a page, Main.TopFormViewTemplate, that contains the following code:
To use, add the following to any other page
* Set VIEW_TEMPLATE = Main.TopFormViewTemplate
Alternatively, to have the setting out of the way, you can define the bullet in the topic preferences (follow the "Edit topic preference settings" link in the "More topic actions" screen.)
Back to: TWikiFAQ
-- Contributors: CrawfordCurrie
Comments & Questions about this Supplemental Document Topic
I escaped the SKIN setting, converted the topic to the actual FAQ format so that TWikiFAQ
can pick it up, and added the standard SupplementalDocument
header and footer.
- 23 Feb 2006
Thanks Peter. Any chance we can get these formats documented somewhere; or even better, a TWikiApplication for adding such FAQs? At the moment they are splattered over TWiki, Codev and Support webs, and I always have trouble knowing where to move them.
- 12 Mar 2006
When you create a new FAQ at TWikiFAQ
it should have the proper format. Actually, it was missing the SupplementalDocument
header and footer, which I added.
- 12 Mar 2006
I have updated the FAQ text with the latest pattern skin documentation.
- 15 Apr 2007
Made with the alternative variant (No Server-side customization needed):
Create following page: ( Main.TopFormEditTemplate )
or TWiki 4.1.2:
and add to any other page:
* Local EDIT_TEMPLATE = Main.TopFormEditTemplate
(use Local instead of Set, why, read lexical scope definition in twiki)
- 01 Aug 2008
Is there any way to set this at web level, I am generating a page with an attahced form (with auto incrementing page name) and even though my template page and form page have "* Local EDIT_TEMPLATE = TopFormEditTemplate
" set, it ignores it and puts the form at the bottom. If I add it to a static page it works fine ... Im wondering if applying this at web level would make this work
Please ask support questions in the Support