El 11/08/11 11:41, vii escribió:
Thank you for your answer. I understand your approach but it takes me to my
next question: How can I include this css-File in my template? I think I
have to use the style_slot but what is the path to my css-File that is in
the browser directory?

   <metal:styleslot fill-slot="style_slot">

   </metal:styleslot>

you can use something like this:

<head tal:define="portal_state context/@@plone_portal_state;
                  portal_url portal_state/portal_url;">

  <metal:styleslot fill-slot="style_slot">
    <link rel="stylesheet" type="text/css" media="screen" href=""
tal:attributes="href string:${portal_url}/++resource++my.package/my_style.css" />
  </metal:styleslot>

</head>

Attachment: smime.p7s
Description: Firma criptográfica S/MIME

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to