Thanks. I copied ticket_notify_email.txt from egg, put it to template
path and then restart trac.

On Dec 15, 1:10 pm, osimons <[email protected]> wrote:
> On Dec 14, 10:21 pm, hjw <[email protected]> wrote:
>
>
>
>
>
> > I too need to do this.  In the previous version I inserted my custom
> > ticket notify file into the the source tree itself.  But I installed v
> > 0.12 with easy_install and that's installed it as an egg (compressed).
>
> > I'm not sure if I can just uncompress the egg in place and have things
> > still work.
>
> > In the previous version it wasn't possible to use the templates dir
> > for the email notify file.
>
> > -Hawley
>
> > On Dec 14, 10:17 am, phasma <[email protected]> wrote:
>
> > > Hi.
>
> > > I've got 0.12.1 trac version. In trac.ini i've added:
>
> > > [inherit]
> > > templates_dir=/home/trac/xxx/templates/
>
> > > and created ticket_notify_email.txt with custom template, but email
> > > messages doesn't changed.
>
> > > How can I change email template only for one copy of trac?
>
> Put the template in the project 'templates' directory. The common
> search order for templates is env/templates, shared/templates, /
> various/trac/and/plugin/eggs/templates
>
> Trac.ini setting is only used to define location of a shared location.
>
> :::simon
>
> https://www.coderesort.comhttp://trac-hacks.org/wiki/osimons

-- 
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.

Reply via email to