On Oct 24, 2006, at 2:48 AM, Christian Boos wrote:
> > Noah Kantrowitz wrote: >> ... >> A possible work around for macro providers that need the old behavior >> would be to also make a post-request filter that calls >> add_stylesheet. That should still be executed before the template is >> rendered, so it should get included in the <head>. >> > > The stylesheet would then be added to *every* rendered page, even if > that macro doesn't get used. Not sure if it's a better trade-off... Yes, or the plugin could do the kind of page parse to see if it is included that you talked about earlier. All aren't perfect solutions, but I would bet that one of these (or some other way no one has thought of yet) will cover at least most of the possible situations. --Noah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev -~----------~----~----~----~------~----~------~--~---
