Hello list,
I am trying to add some css into my plugin's html. It works if I put this in
the title element in my template:
<link rel="stylesheet" type="text/css"
href="${href.chrome('/smtmt/magtest.css')}" />
...with relevant implementation of get_htdocs_dirs() in the plugin.
However, trying to do things the "right way", I have so far failed to get
add_stylesheet (from trac.web.chrome) to work:
add_stylesheet(req, req.href.chrome('/smtmt/magtest.css'))
Looking at the code, is it actually possible to get this to work?
add_stylesheet seems to exclude plugins (or am I mis-reading it)?
Many thanks,
~ mark c
--
You received this message because you are subscribed to the Google Groups "Trac
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/trac-users?hl=en.