If you maintain several layouts and don't want to have to update each one individually, another option would be to create an sfFilter subclass. See http://www.symfony-project.org/book/1_1/06-Inside-the-Controller-Layer#Filters for info. If you look at the "Samle Filters" section, you'll see an example of a Google Analytics being injected into each page before it is rendered. You could adapt from this example and use str_ireplace('</head>', $desired_stylesheet_snippet.'</head>', $response->getContent()) to inject your stylesheet just before the close of the head element.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
