[TYPO3-dev] Frontend Editing: Edit record from extension in frontend editing is possible?
Tapio Markula
tapio.markula at dnainternet.net
Thu Apr 20 20:19:34 CEST 2006
Francesco Pessina wrote:
> Yes you can.
>
> On each record wich you want to show the edit pencil icon you must add
> the following PHP code:
>
> $table_ref = 'name of table wich you want to edit';
> $record_ref = 'id of current record to edit';
> $currentHost = $_SERVER["SERVER_NAME"];
> $editorWidth = 600;
> $editorHeight = 400;
I don't undertand that
Generally edit Icons have been added at this way if they are set for
pi1-class file:
$content .=
$this->pi_getEditIcon($tmp,"title,name,name_order,email,www,phone,mobile,description",'Base
settings',$row,'tt_address');
look at macina banners, if you want to use EDITPANEL for your records.
Alternatively they can be set using TS template using
ext_typoscript_setup.txt or setup.txt
BTW. I don't know how to use TS to set EDITPANEL object after records.
More information about the TYPO3-dev
mailing list