[TYPO3-mvc] [Extbase] modify $this->settings don't touch Fluid template {settings}

Claus Fassing claus at fassing.eu
Tue Sep 7 21:09:14 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I got a two step form and the rendering of the fields in second step are
dependent by user choice in step one.

The user select at first step a kind of entry (XS, S, XL....).
The administrator decide which fields to be render related to the entry
type.
e.g.
settings.entryType.s = keywords, description
settings.entryType.xl = keywords, description, uploads

Now I check in the controller which type of entry the user selected and
try to set the related fields (override settings.entryType as global).

$this->settings['entryType'] =
$this->settings['entryType'][strtolower($newOffer->getEntrytype())];

At this point, everything works, $this->settings['entryType'] include
the right settings, I checked this by setting a breakpoint.

But the {settings.entryType} in the Fluid template got still the
original options.

Regards Claus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMho3aAAoJELsIv+audObf3asIANCNC/EgaXcoFlBSqEAz/eUX
CMjUMRX8eheSHwWGaEuUNqa0P1pGlnEtLvtAsTR0Xtq4JGBYnw9tqLanJmYaBu6h
WCAR1isr3EugMCEmGzeSnGrl5/afByKfMdlQaqoOqyrJArKNdSHf42eXix9b5PKn
FLtsaRIUiR0dvQ1y+VJECzrvyWA26NewNn3E05gceu2fOnrud9pXjWXWUQhGmqfn
yfmsGq0D/EMn0HYuKlFApB4DxqOH0qA24MPP6yR04EqDuKU5ghUTHNRH+VWW4gjy
yo+yFoEV8DvPS2VLWywBTFuN6GpewcPoHwYX2DF0KhSW+ic9CfQeORM2DKNoL3g=
=Ez98
-----END PGP SIGNATURE-----


More information about the TYPO3-project-typo3v4mvc mailing list