Tags:
create new tag
, view all tags

Question

I am trying to prepare a topic template that creates pages where the form appears at the top of each topic, not at the bottom, if that is possible. The form displays all of the important info for the topic, and comments below the form may or may not be extended over time.

People creating new topics have to be confronted with the form up the top, to make sure they fill it in. People viewing the topics will often just be interested in the form fields content, only reading the added free text if something in the form fields looks interesting.

I read somewhere that the form can be placed at any part of the page, but my forms always end up sitting at the bottom when edited and viewed, no matter where I insert the form on the topic template.

I haven't seen a form-on-top layout achieved on other people's TWikis either. Is it possible with this version of TWiki, or not doable without making serious changes?

  • TWiki version: Dec 2001
  • Web server: Apache
  • Server OS: FreeBSD
  • Web browser: lynx, netscape
  • Client OS: FreeBSD

-- SueBlake - 17 Jul 2002

Answer

Create a TWikiSkin for edit and try to put %FORMFIELDS% above the <textarea ...> tag. Same can be done to view, switch %TEXT% and %META{"form"}%.

Note that this is not documented; the spec might change in a future release.

-- PeterThoeny - 18 Jul 2002

I tried that, setting a skin for the whole web, and putting the skin in the URL, and making a templates/Webname directory and putting it in there. (Hey, this is really versatile!) It did seem to be using the skin I was pointing to, but I can't get edit working with the form on top. When it goes on top, I see a table something like the full contents of WebForm rather than a form with buttons and so on.

I have settled on letting the form go below as usual during edit, and just use social methods to make sure the form is filled out or else! But I thought I'd better come back here and report that I couldn't get it working in case someone else is trying the same thing.

-- SueBlake - 07 Aug 2002

The situation has changed since 2002. Please read the new documentation in PatternSkinCustomization.

-- ArthurClemens - 15 Apr 2007

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 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-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.