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

Sebastian Kurfürst sebastian at typo3.org
Wed Sep 8 08:58:29 CEST 2010


Hey Claus,

instead of modifying $this->settings in your controller, I'd rather 
suggest that you put the needed information into the Fluid template 
directly, by using $this->view->assign('entryType', ...), and then 
inside your template you can do {entryType}.

Settings are meant to be strictly read-only, so if you change them 
around, this might break in a future version.

Hope this helps :-)

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list