[TYPO3-dev] example of a custom popup wizard needed
Martin Ficzel
martin.ficzel at gmx.de
Fri Mar 10 13:35:33 CET 2006
i have to write a wizard for a select-record field. since im doing that
the first time i have some trouble to get it work and to find the
necessary informations.
im currently going trough the core-api-doc::section(additional tca
fetures) where wizard configuration is described but there are some
points i cant figure out :
1. how do i register the wizard as a popup in the TCA like the record
browser. in my test config the wizard ( see below ) is alwas loading
in the edit frame
2. how can i make shure that the typo3-be is available in my extension
wizard for authorization, dbal ...
3. how do i pass the values back to my groupfield
4. why is the record-select-wizard always shown in my group field (it's
not configured to be shown )
i think the problems are quite trivial and a working example is all i
need to start so can anyone tell me an extension wich contains such a
wizzard ?
regards Martin
here is the tca part of my group field
> "roomobjects" => Array (
> "exclude" => 1,
> "label" => "LLL:EXT:artec_roominfo/locallang_db.php:tx_artecroominfo_signatures.roomobjects",
> "config" => Array (
> "type" => "group",
> "internal_type" => "db",
> "allowed" => "tx_artecroominfo_objects",
> "size" => 10,
> "minitems" => 0,
> "maxitems" => 99,
> "MM" => "tx_artecroominfo_signatures_objects_mm",
> "wizards" => Array (
> '_PADDING' => 1,
> '_VERTICAL' => 0,
> '_POSITION' => 'right',
> '_VALIGN' => 'top',
> 'select' => Array(
> 'type' => 'script',
> 'title'=> 'select from floorplan',
> 'icon' => 'list.gif',
> 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
> 'params' => Array ( ),
> 'script' => t3lib_extMgm::extRelPath("artec_roominfo").'wizards/select_ro_wizard.php',
> ),
> ),
> ),
> ),
More information about the TYPO3-dev
mailing list