[TYPO3-german] extension standard setup

christian oettinger christian.oettinger at gmx.de
Fri Oct 26 22:43:05 CEST 2007


Hallo!

Wenn Du lokal installiert hast:
typo3conf/ext/babucoportal/ext_localconf.php
Wenn global:
typo3/ext/babucoportal/ext_localconf.php

Da findest Du eine Funktion wei etwa
t3lib_extMgm::addPItoST43($_EXTKEY,'pi1/class.tx_babucoportal_pi1.php','_pi1','list_type',0);

Ich schätze(!) das ist es.
Die Referenz sagt dazu:
"When adding a frontend plugin you will have to add both an entry to the 
TCA definition of tt_content table AND to the TypoScript template which 
must initiate the rendering. Since the static template with uid 43 is 
the "content.default" and practically always used for rendering the 
content elements it's very useful to have this function automatically 
adding the necessary TypoScript for calling your plugin. It will also 
work for the extension "css_styled_content" $type determines the type of 
frontend plugin: "list_type" (default) - the good old "Insert plugin" 
entry "menu_type" - a "Menu/Sitemap" entry "splash_layout" - a "Textbox" 
entry "CType" - a new content element type "header_layout" - an 
additional header type (added to the selection of layout1-5) 
"includeLib" - just includes the library for manual use somewhere in 
TypoScript. (Remember that your $type definition should correspond to 
the column/items array in $TCA[tt_content] where you added the selector 
item for the element! See addPlugin() function) FOR USE IN 
ext_locallang.php FILES Usage: 2"

ich hoffe das hilft, viele Grüße!
oe


> HAllo,
> 
> ich habe gerade eine extension mit dem klickstarter geschrieben.
> Hierbei wird wie im Typokochbuch beschrieben die extension registriert.
> Unter Konfiguration im BE finde ich auch die erwarteten werte.
> 
> [FE][defaultTypoScript_setup]= [GLOBAL] ...
> includeLibs.tx_babucoportal_pi1 = 
> typo3conf/ext/babuco_portal/pi1/class.tx_babucoportal_pi1.php 
> plugin.tx_babucoportal_pi1 = USER plugin.tx_babucoportal_pi1 { userFunc 
> = tx_babucoportal_pi1->main }
> 
> 
> Wo (Datei, tabelle) ist  diese Konfiguration gespeichert?


More information about the TYPO3-german mailing list