<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have several times during my Typo3 development, 
found myself in need of front end editing, or creation of records. For smaller 
applications, the feAdminLib is very usefull, and I usually use this script to 
render the forms for editing. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>However sometimes I need something more than this: 
Image upload for instance, and also I find it a little silly to specify all the 
form in a template, when all the information for rendering the form is in the 
TCA! </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have found several extensions (CWT edit, 
julle_feedit) that render forms for FE editing from TCA. I especially found the 
julle_feedit very usefull, but ther was some things missing (and something 
broken). I have fixed these issues in julle_feedit, and hope that Christian will 
incorporate the changes into his extension. The extension now supports 
fileuploads, and a concept of group (like feAdminlib). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anyway I think that front end editing should be a 
part of the core in TYPO3, and would like to help develop the functionality, if 
others feel the same way. I propose to either make a new class for rendering 
frontend editing form, or integrate it into the tceforms. But these funtions 
must *NOT* be dependent on a backend user being logged in! Of course the 
funtinality could also be kept as a extension, but I rather like the idea that 
there is a standard way to make FE edit functionality in TYPO3.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The whole&nbsp;concept of RTE enabled field should 
also be availbe in FE edit (For now my version of julle_feedit, only supports 
the FCK editor, but I would rather that it used the TCEforms framework, 
including transformations). This way records edited from frontend could be 
edited from the Backend without corrupting the HTML code).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I think that (If Christian allowss, of course) the 
julle_feedit, could serve as a startingpoint for&nbsp;either of these options. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>There is one thing that I miss in the TCA: For 
backend editing, the TCA supports multiple types, so that the rendering form can 
be different depending on the value of a certain field in the record, I would 
like that there was a similliar field for the Front end editing:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Example from one of my own 
extension:&nbsp;(</FONT><FONT face=Arial size=2>TCA.php</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;"types" =&gt; Array 
(<BR>&nbsp;&nbsp;&nbsp;&nbsp; "0" =&gt; Array("showitem" =&gt; 
"hidden;;1;;1-1-1, access, target, type, category,header, author, 
bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "1" =&gt; 
Array("showitem" =&gt; "hidden;;1;;1-1-1, access, target, type, category,header, 
author, bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "2" =&gt; 
Array("showitem" =&gt; "hidden;;1;;1-1-1, access, target, type, category,header, 
author, bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "3" =&gt; 
Array("showitem" =&gt; "hidden;;1;;1-1-1, access, target, type, 
category,header,link"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "4" =&gt; Array("showitem" 
=&gt; "hidden;;1;;1-1-1, access, target, type, category,header, 
attachments"),</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The class for FE edit could of course use this 
types array for rendering, but I think it is a good idea to seperate what is 
editable from FE, and what is ediable fron BE. I propose to have FEtypes 
configuration possibility also:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>&nbsp;"FEtypes" =&gt; Array 
(<BR>&nbsp;&nbsp;&nbsp;&nbsp; "0" =&gt; Array("showitem" =&gt; "access, target, 
type, category,header, author, bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "1" =&gt; 
Array("showitem" =&gt; "access, target, type, category,header, author, 
bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "2" =&gt; 
Array("showitem" =&gt; "access, target, type, category,header, author, 
bodytext;;;richtext[*],&nbsp; 
attachments,link,related"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "3" =&gt; 
Array("showitem" =&gt; "access, target, type, 
category,header,link"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; "4" =&gt; Array("showitem" 
=&gt; "access, target, type, category,header, attachments"),</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; )</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I hope that others will comment on my thoughts. I 
really think that this would help make Typo3 even more usefull than it allredy 
is.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>Jan-Erik Revsbech</FONT></DIV></BODY></HTML>