[TYPO3-ect] lib/div: Overriding TS config via FF
Daniel Brüßler
info at -remove-patchworking.de
Thu Feb 28 16:11:17 CET 2008
Hello Jochen,
yes shure, that should be changed. In the moment there's nobody working
on lib/div. Do you have a sourceforge-account to add it via SVN?
Cheers!
Daniel
> Hey lib/div devs,
>
> finally I managed to dig deeper into the lib/div framework instead of
> just following the mailinglists discussions about it. A long awaited
> situation! :)
>
> I found one behaviour to be worth changed (or maybe I just did not find
> the right way to do it):
>
> When retrieving configurations via
>
> $this->configurations->get('someConfKey');
>
> I will ALWAYS get the FF value in case the same key exists in TS and FF.
> I think it might be better to use the flexform value ONLY IF something
> was entered there. Would be kind of a nobrainer in
>
> class.tx_lib_configurations.php:
>
> foreach((array) $data as $sheet => $languages) {
> foreach((array) $languages[$languagePointer] as $key => $def) {
>
> // just use ff value if something was entered
> if ($def[$valuePointer] != '') {
> $this->set($key, $def[$valuePointer]);
> }
> }
> }
>
> What do you think?
>
> Cheers,
> Jochen
>
> --
> Connecta AG TYPO3 Development
> http://www.connecta.ag
More information about the TYPO3-team-extension-coordination
mailing list