Myke/Daniel,
I don't know about Myke's first option, but the second one using
javascript for this seems IMHO a bad idea.
Personally I wouldn't feel comfortable using javascript for something
simple as this nor would I like to rely on javascript. Besides one can
also argue that this goes against the the seperation of content and
code. Although I am by no means a Symfony guru it does strike me odd if
there wouldn't be an easier way to accomplish this.
All the best,
grtz
BjornW
Myke Hines wrote:
> Daniel,
> That title entry in the generator.yml will only populate the <h1> of
> the page section. You could
>
> #1) Add setTitle() to all your actions
> #2) Or add this into your layout...
> <script>
> document.title = $('sf_admin_container').getElementsByTagName
> ('h1')[0].innerHTML
> </script>
>
> Hope that helps.
>
> On 8/8/07, Daniel Staver <[EMAIL PROTECTED]> wrote:
>> Is there a way to use the title setting from generator.yml in the
>> TITLE tag? I'm only getting the title from view.yml. My layout.php
>> uses <? include_title() ?> to generate the title.
>>
>>
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---