This question about Configuration: Needs followup in Tasks

Putting Form data at top breaks action=form edit

Hi, I'm trying to put the form data at the top of all pages, using the documented approach with a custom template. The template is defined thus:

%TMPL:INCLUDE{"edit"}%

%TMPL:DEF{"formtop"}%%TMPL:P{"form"}%%TMPL:END%
%TMPL:DEF{"formbottom"}%%TMPL:END%

Which works nice for the VIEW and EDIT actions. When I click the "edit only the form data" button, where "action=form" is passed to the edit script, then the form does not show up. Using the following template will make form appear once for "edit?action=form" and obviously twice for "edit" alone.

%TMPL:INCLUDE{"edit"}%

%TMPL:DEF{"formtop"}%%TMPL:P{"form"}%%TMPL:END%
%TMPL:DEF{"formbottom"}%%TMPL:P{"form"}%%TMPL:END%

Does anyone know what's up with that?

-- UlrichSpoerlein - 13 Apr 2009

This sounds like a bug.

-- ArthurClemens - 13 Apr 2009

QuestionForm edit

Subject Configuration
Extension PatternSkin
Version
Status Needs followup in Tasks
Topic revision: r2 - 13 Apr 2009, ArthurClemens - This page was cached on 17 Nov 2018 - 21:55.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy