CMS MADE SIMPLE FORGE

plFileHandler

 

[#6898] FORM tag inserted before Doctype in "Select File" template

avatar
Created By: Bernd Klenk (klenkes)
Date Submitted: Mon Sep 26 08:45:56 -0400 2011

Assigned To: Pierre-Luc Germain (plger)
Version: plFileHandler 0.6
CMSMS Version: 1.10-beta1
Severity: Minor
Resolution: None
State: Open
Summary:
FORM tag inserted before Doctype in "Select File" template
Detailed Description:
Since I am having strange caching problems, means iframe not updating after a
change, I noticed that there is a FORM tag with hidden inputs outputed before
the Doctype declaration.

In Extensions->plFileHandler->Sample 
"Select File" output is: 
<form action="bg_select.php" method="post">
<!Doctype...

In my module:
An image field: "Select File" Iframe out put is:
<form action="bg_select.php" method="post">
<input type="hidden" name="mode" value="image"/>
<input type="hidden" name="resize" value="700x600"/>
<input type="hidden" name="crop" value=""/>
<input type="hidden" name="startdir" value="contentblocks%2Fimages"/>
<!Doctype...

I couldn't find the source where it happens.


History

Comments
avatar
Date: 2011-09-27 10:35
Posted By: Bernd Klenk (klenkes)

Okay, this has to do with the setting: 
Allow users to move files via the plFileHandler selector interface.

If checked the form tag appears.
Try in Sample tab but you have to reload the iframe to see the updated source
with the form.
      
Updates

Updated: 2011-09-26 08:46
version_id: -1 => 29171
resolution_id: => 5
severity_id: 12 => 3
cmsms_version_id: -1 => 29158
assigned_to_id: 100 => 5759