[FLOW3-general] Setting the page title
David Sporer
david.sporer at gmail.com
Sun Nov 11 17:25:53 CET 2012
Works like a charm but in a View Helper you need to use
$this->controllerContext->getRequest()
Instead of
$this->request
-----Ursprüngliche Nachricht-----
Von: flow3-general-bounces at lists.typo3.org
[mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von David Sporer
Gesendet: Sonntag, 11. November 2012 15:11
An: apocalip at gmail.com; General discussion about FLOW3
Betreff: Re: [FLOW3-general] Setting the page title
Hi Marc,
Thank you!
Perhaps I could use the controller name as Id in my xliff files to make use
of translation features.
The yi think this could do what I want :-)
Regards
David
Am 11.11.2012 um 13:55 schrieb Marc Neuhaus <apocalip at gmail.com>:
> Hey David,
>
> you could create a custom ViewHelper for that like this:
> https://gist.github.com/4054824
>
> Greetings
> Marc
>
> 2012/11/11 David Sporer <david.sporer at gmail.com>
>
>> Hey guys,
>>
>> I just thought about how I can set the page title dynamically, Are
>> there any standard recommendations e.g. how to use the controller
>> name as page title?
>> The disadvantage is that it's not flexible.
>>
>> Regards
>> David
>> _______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list