[TYPO3-ect] translations with lib/div
Elmar Hinz
elmar07 at googlemail.com
Mon Jul 30 15:37:11 CEST 2007
Steffen Kamper wrote:
> no, that's not the point.
> There is the global one:
>
> // common extension configuration
> plugin.tx_bananas.configurations { ... }
>
> and the 2 plugins
> plugin.tx_bananas.controllers.list < plugin.tx_bananas.configurations
> plugin.tx_bananas.controllers.form < plugin.tx_bananas.configurations
>
Hi,
if you alter the global one AFTER it has been copied (<) you need to copy it
AGAIN. That is how TS works. You also need also to copy the other lines on
that nodes a second time.
If you could use a reference (=<) instead of a copy (<) you could still
alter it AFTER the reference. But references only work for cObjects and the
mere configuration is no object. IMHO there is no general configuration
object in TS that can be used by reference.
You need to circumnavigate this limitation of TS in a clever way. For
example apply the answer from my last posting to both plugins or make use
of CONSTANTS.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list