> -----Original Message----- > From: [email protected] On Behalf Of Remy Blank > Sent: 08 August 2012 12:11 > To: [email protected] > Subject: Re: [Trac] Problem with `search` > > Cooke, Mark wrote: > > I have since discovered that the problem is probably with > the name of my template: "search.html". Even though it is > stored in my plugin folder it gets found before/after the > trac one (I've not worked out the priority). > > > > Anyway, is there a way to add a path to a html template > (like get_htdocs_dirs() allows) or must a plugin's html > templates use unique names? > > I don't think you can, so you'll need to have a unique name. I usually > name my templates e.g. "{plugin_name}_search.html". > > -- Remy
Thanks again Remy. I've renamed my template and all seems good. -- 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.
