[Typo3] extMgm addPlugin types

Meinte van't Kruis meinte at gmail.com
Fri May 20 13:28:02 CEST 2005


Thanx for pointing that out. I have gone through the core-api and
several other docs. Perhaps someday I will make sense of it all, but
now it's coming bit by bit.

On 5/20/05, Peter Niederlag <niederlag at ikd01.de> wrote:
> Hi,
> 
> Meinte van't Kruis schrieb:
> > The code about t3lib_extMgm::addPlugin contains:
> >
> >  void   addPlugin  (array $itemArray, [string $type = 'list_type'])
> >
> >     * array $itemArray: Item Array
> >     * string $type: Type (eg. "list_type") - basically a field from
> > "tt_content" table
> >
> > I'm wondering what kind of types are available (feuseradmin has plugin
> > type '20' for example, I have no idea what it stands for), and what
> > are the differences between them.
> 
> basicly I would think any field in tt_content that is configured as a
> select field makes sense for $type (for example 'list_type',
> 'header_layout' 'cType', ..).
> 
> the method adds an entry to (the dropdown) of the appropriate select-box.
> 
> "feuseradmin has plugin type '20'" is something else I would think. the
> '20' probably refers to the label and /or entry that is put into DB when
> this plugin is selected and would be part of the $itemArray parameter.
> 
> I might be wrong though...
> ..anyway you just need to understand $TCA in order to pick this up.
> man TYPO3-Core-API
> 
> Cheers,
> Peter
> --
> Peter Niederlag
> http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
> http://www.typo3partner.net * professional services network *
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 


-- 
-------------------------------------------------
typo3 forum: http://typo3.tros.nl/



More information about the TYPO3-english mailing list