[TYPO3-ect] translations with lib/div
Steffen Kamper
steffen at sk-typo3.de
Mon Jul 30 16:05:41 CEST 2007
Hi Elmar,
"Elmar Hinz" <elmar07 at googlemail.com> schrieb im Newsbeitrag
news:mailman.1.1185802768.20466.typo3-team-extension-coordination at lists.netfielders.de...
> 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
>
sure.
But i debug the global one (doesn't matter the influence to the plugins atm)
You're right, the plugin needs reference instead copy.
When i manipulate the global one and debug this array on the page, i don't
see any changes. That isn't correct , you can do it with any other plugins
and their settings.
Even when i try to change something in roottemplate, it doesn't affect.
So when i try to change
maximalItemsToDisplay = 40
the ObjectBrowser shows 40, the debug in controller says 20
if i change that direct in setup.txt it works - so anything avoids later
changes.
I'm really perplexed of this atm.
vg Steffen
I think there
More information about the TYPO3-team-extension-coordination
mailing list