I have the same question :
How to get metas_title param from view.yml ?
I'm designing a CMS (merge of my own Symfony CMS and SimpleCMS) which is
nearly finished.
Then it is nice to compose page titles with the title of the website
from view.yml and the title of the page from the CMS.
Thanks a lot, I hope I will publish a new CMS plugin soon.
It is called sfDynamicCMS (I don't know which name to give to this
plugin), it permits to manage easily navigation with CMS module and you
own modules dynamicaly : without writing a line in routing.yml). Then
there are 3 tables : nav, page, slots.
It permit also to manage slots and templates like simpleCMS but in a
backend with admin generator (template and slots yml config are like
generator yml config).
Thanks,
--
Sylvain Papet - Développeur Web
Agence de communication Com-Océan
www.com-ocean.com / +33 4 90 66 48 82
Nicolas CHARLOT a écrit :
> [EMAIL PROTECTED] a écrit :
>> Nicolas,
>>
>> Maybe you can use :
>>
>> sfContext::getInstance()->getResponse()->getTitle();
>>
>> or
>>
>> $this->getParameterHolder()->getParameter('title', '', 'helper/asset/
>> auto/meta');
>>
>> Bon courage,
>> Pascal
>>
> It doesn't seems to work in an action...
>
> I've add my own param in app.yml : html_title_suffix...
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---