[TYPO3-dev] Naming of plugins in an extension
Steffen Kamper
info at sk-typo3.de
Mon Aug 11 15:40:09 CEST 2008
Stefan Lehmann schrieb:
> Hello!
>
> I have a question about the naming of plugins in TYPO3. For our projects
> we develop several extensions for different purposes. In most cases
> these extensions contain several plugins. We followed the way like the
> TYPO3 community is doing it and named the plugins like that:
>
> - tx_something_pi1
> - tx_something_pi2 and so on.
>
> If the project grows, this naming becomes more and more confusing,
> because "_pi1" and "_pi2" arent very semantic. My question is: Is there
> a deeper idea behind this numerical naming (any future changes) or are
> we free to name the plugins, like we wish? eg.:
>
> - tx_something_dynamic_teasers
> - tx_something_static_teasers
>
> .. or something like that.
>
> Thanks in advance,
> best regards,
>
> Stefan Lehmann
>
You are free to use different naming, ensure that you include the plugin
in the right way:
t3lib_extMgm::addPlugin(array('LLL:EXT:anylangfile.xml:tt_content.list_type_thisplugin',
$_EXTKEY . $your_postfix),'list_type');
vg Steffen
More information about the TYPO3-dev
mailing list