[TYPO3-dev] No extension keys startiing with u!?!?!?
Benjamin Mack
bmack at kirix.com
Tue Oct 24 11:10:25 CEST 2006
Hey,
here is not an explanation but the documentation about this issue:
Extension key
----
The “extension key” is a string uniquely identifying the extension. The
folder where the extension resides is named by this string. The string
can contain characters a-z0-9 and underscore. No uppercase characters
should be used (keeps folder-,file- and table/field-names in lowercase).
Furthermore the name must not start with an “tx” or “u” (this is
prefixes used for modules) and because backend modules related to the
extension should be named by the extension name without underscores, the
extension name must still be unique even if underscores are removed
(underscores are allowed to make the extension key easily readable).
----
Also:
----
Project specific extensions (not generally usable or shareable): Select
any name you like and prepend it “user_” (which is the only allowed use
of a key starting with “u”). ...
----
both from TYPO3 Core APIs (p. 24ff).
Looks like this is done for legacy reasons - and why should one not hold
on to the guidelines TYPO3 (or TER) sets?
Just to correct my position: I'm totally on your side with setting the
ext-name to "undo", but if that's "the law" (although it may sound
stupid) we have to bow ;-).
greetings,
benni.
-SDG-
Martin Kutschker wrote:
> Rocco Di Leo schrieb:
>> Hello Martin,
>>
>> yes, you can hack into the TYPO3-Core and remove the restriction or you can
>> simple name your extension different like mk_undo etc .
>
> It's TER that doesn't allow it, not TYPO3 itself. In fact TYPO3 doesn't
> bother at all with names, it accepts anything.
>
> And I know that I can rename it, but why should I? Nothing's wrong with a
> "u" and the check is simply stupid.
>
> Masi
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list