$ this-> settings are empty in Extbase extension

I recently created an extension using the new Extension Builder (TYPO3 6.0, Extbase 6.0). To see if the setup.txt file works, I added a simple line to it:
plugin.tx_myext { view { templateRootPath = {$plugin.tx_kremsimpressions.view.templateRootPath} partialRootPath = {$plugin.tx_kremsimpressions.view.partialRootPath} layoutRootPath = {$plugin.tx_kremsimpressions.view.layoutRootPath} } persistence { storagePid = {$plugin.tx_kremsimpressions.persistence.storagePid} } features { # uncomment the following line to enable the new Property Mapper. # rewrittenPropertyMapper = 1 } settings { foo = bar } } 

Now I will try to get to this in the controller by calling $this->settings['foo'] . The problem is that the entire array of settings is empty. I also tried {setting.foo} in the fluid template, also empty.

So a simple question: what am I doing wrong? I wrote on several sites that it should work that way.

Thnx for your help.

+4
source share
2 answers

Enable static extension template. See the tutorial here .

+1
source

Have you cleared all caches?

The default settings for extensions are stored in external files, so for every change you need to clear the entire cache.

+3
source

All Articles