Hi,

I have apps/myapp//templates/layout.php. In this template, I want to
define 3 stylesheets for the main template (to enable users to switch
between sytlesheet using javascript).

I know that I can set global styles in apps/myapp/config/view.yml
like stylesheets: [style1.css, style2.css, style3.css]

But I am looking for it to output something like
<link href="css/style.css" type="text/css" rel="stylesheet" />
<link title="blue" type="text/css" rel="alternate stylesheet"
href="css/style1.css"/>
<link title="red" type="text/css" rel="alternate stylesheet" href="css/
style2.css"/>

How do I do this? Do I have to use use_stylesheet() helper and how do
I set it to get above output?

I have another question related to javascript declaration for IE6 but
I'll put it in new thread.

Thanks for you help.
Dj
--~--~---------~--~----~------------~-------~--~----~
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