[TYPO3-mvc] How to get to typoscipt ?

Dawid Pacholczyk dpacholczyk at gmail.com
Wed Jan 12 13:17:39 CET 2011


W dniu 2011-01-12 13:13, Dawid Pacholczyk pisze:
> W dniu 2011-01-12 12:53, Franz Koch pisze:
>> Hey,
>>
>>> I`ve just created new extension. I`ve modified setup.txt like this (just
>>> for example)
>>>
>>> plugin.tx_multicontent.settings {
>>> test = 1
>>> }
>>>
>>> when i use this in controller $this->settings['test'] its empty.
>>>
>>> Even more
>>>
>>> print_r($this->settings) won`t do anything. Even won`t display an empty
>>> array. What am I doing wrong?
>>
>> you have included your TypoScript template, have you? It's not loaded by
>> default, so you have to include it manually. After that your settings
>> should be there.
>>
>
> Yes I`ve added it to my main template.
>
> I should probably also say that I`m trying to create a BE module for my
> ext.
>
> Best regards,
> Dawid Pacholczyk

Ok I solved it

ofc I must use module. not plugin.

sorry for wasting your time !

Best regards,
Dawid Pacholczyk


More information about the TYPO3-project-typo3v4mvc mailing list