Hi,

I have a plugin which permit to have a general header, menu & footer for 
backend like sfAdminDashPlugin.
Until today, I have to modify the layout file to add :
>   <body>
>     <div id="container">
>       <?php
>       include_partial('sfMyAdmin/header');
>       echo $sf_content;
>       include_partial('sfMyAdmin/footer');
>       ?>
>     </div>
>   </body>
This is not very clean, a plugin might have do this automaticaly or by 
setting configuration file.

In my partials I can have helpers which add javascripts or stylesheets 
files.
With Symfony 1.4, this way doesn't works because it is possible to use 
these helpers only from action's template. It is now impossible to 
modify response (to add js or css files) from parial or component 
included directly in layout.

Then here is my question :
What is the best pratice (cleanest, simplest) to add a header & a footer 
(which include css or js files dynamicaly) in layout without having to 
modify action's templates with Symfony 1.4.

Thanks a lot,

-- 
Sylvain Papet - Développeur Web
Agence de communication Com-Océan
www.com-ocean.com / +33 4 90 66 48 82


--

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.


Reply via email to