On Oct 27, 12:16 am, Noah Kantrowitz <[EMAIL PROTECTED]> wrote: > You cannot add things to <head> in a macro, as they are rendered too > late in the process. You could do some interesting stuff with string > scanning and a request filter though. Yes, or you could let your macro write their content into a database and let a request filter then use this DB to insert this information into the wiki page __at the next reload__. One thing you would have to figure out is how to delete the DB entry after a macro was deleted from the wiki.
This whole link tag thing screams after an admin plugin where you can set for which pages which extra tags should be set. Then you don't need any macros anymore. Also, a plugin which allows an trac admin to add general script and link tags to all wiki pages without the need for an own template file would be nice. The input information could be put into trac.ini . Maybe I will create such a plugin soon if I find the time. Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
