[TYPO3-mvc] view renderer ignores action argument

Thomas Allmer at at delusionworld.com
Fri Oct 14 16:46:58 CEST 2011


On 13.10.2011 20:45, Nicole Cordes wrote:
> Just a quick thought of mine, but what about setting a new variable in
> typoscript:
>
> plugin.xyz.settings.rootPath =<  plugin.xyz.view.templateRootPath
>
> which inherits from the "normal" template path.

I guess that would work... but it looks more like a workaround :p
I would like to have a "clean" solutions...
and I mean it's just as simple as making a function public instead of 
protected... hopefully this will be in the core at some point, although 
there is currently not much feedback from the devs as I guess they are 
pretty busy with FLOW3 1.0...

> Best regards,
> Nicole
>
>
> Nicole Cordes
> Senior-Entwickler online
>
> cordes at cps-it.de
> www.cps-it.de
> T 030 275 95 371
> M 0176 - 2016 0234
>
> CPS-IT bei Facebook und bei Twitter
>
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
> [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
> g4-lisz at tonarchiv.ch
> Gesendet: Donnerstag, 13. Oktober 2011 16:00
> An: TYPO3 v4 MVC project
> Betreff: Re: [TYPO3-mvc] view renderer ignores action argument
>
> On 10/13/2011 11:10 AM, Bastian Waidelich wrote:
>> g4-lisz at tonarchiv.ch wrote:
>>
>> hi,
>>
>>>> http://forge.typo3.org/projects/typo3v4-mvc/wiki/How_to_change_the_t
>>>> emplate_for_one_plugin_instance
>>>>
>>
>>> I wonder why there is no setTemplateFilename() method [...]
>>
>> did you have a look at the link i sent you?
>>  From version 1.3 on you can set the template via
>> $this->view->setTemplatePathAndFilename(...);
> yes i read it... i knew about setTemplatePathAndFilename(). but i didn't
> want to set the template root by hand.
>
>>
>>> I don not really understand what you mean wiht "non-api method"...
>>
>> Have a look at
>> http://forge.typo3.org/projects/typo3v4-mvc/wiki/Public_API
>> This is crucial if you want to have your extension upwards compatible.
> i want to keep it _simple_ ;)
>
> cheers,
> till
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


-- 
+---------------------------------+-----------------------------------+
| Thomas Allmer                   |   http://www.delusionworld.com    |
| E-mail: at at delusionworld.com    |   phone: +43 699 16217064         |
+---------------------------------+-----------------------------------+


More information about the TYPO3-project-typo3v4mvc mailing list