
testgmaddr at gmail
Aug 8, 2012, 2:09 AM
Post #2 of 2
(106 views)
Permalink
|
On Monday, July 6, 2009 7:32:32 PM UTC+3, mixedpuppy wrote: > > In trac.web.chrome there is some code for late links and late scripts, > which are templated in layout.html. I cannot find any place that > actually fills in these values, how do I use them? > > > Put the following snippet into some template: <?python from trac.web.chrome import add_script add_script(req, 'multiproject/foobarechoecho.js') ?> So, late_script and late_links gets populated *only* when add_script and add_stylesheet are used in templates. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/5vsf8nwOMSIJ. To post to this group, send email to trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
|