Hmm I didn't know about this. Are there other possible templates like this, and is this documented on the Trac site somewhere (i.e. a listing of customizations like this). I guess I knew about site_css but I didn't think that it might work for other pages, too.
Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of osimons Sent: Monday, May 07, 2007 10:25 AM To: Trac Users Subject: [Trac] Re: Adding text to New Ticket page On May 7, 4:07 pm, "Jason Winnebeck" <[EMAIL PROTECTED]> wrote: > The short answer is in the shared templates directory, ticket.cs. On a > UNIX system this might live at /usr/share/trac/templates/newticket.cs. > Actually, for 0.10.4 (and earlier) this can be done slightly easier, as there is support for a custom site_newticket.cs template that you can add to your project templates directory - this file gets injected into the main Trac ticket template. Just create a file called /path/to/your/project/templates/ site_newticket.cs and enter regular HTML (or even ClearSilver templating code), and it should be visible on your new ticket page. At least you can keep the Trac templates unchanged. :::simon http://www.coderesort.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
