In 0.11 (I think, might have 0.10 even) we changed global config to be
explicit instead of implicit. You need to add:
[inherit]
file = /path/to/global/trac.ini

to every env.

--Noah

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of MOLOKO
> Sent: Tuesday, March 02, 2010 5:40 AM
> To: Trac Users
> Subject: [Trac] customise header logo of *all* trac sites
> 
> Hi all
> 
> I have a LOT of trac sites (300+) running on my server that I'd like to
> customise to change the header logo and stylesheet.
> 
> I had this set up OK before in 0.9 but since upgrading to 0.11 it's
> reverted back to the default logo and stylesheet, and I cannot for the
> life of me work out how to change it globally.
> 
> I've got a shared trac.ini which all my trac sites are inheriting. In
> there, I've got the following:
> 
> [header_logo]
> alt = "company name"
> height = -1
> link = http://www.companyname.com
> src = common/trac_banner.png
> width = -1
> 
> But where exactly is common/trac_banner.png being pulled from?
> 
> There's a copy in /usr/lib/python2.5/site-packages/Trac-0.11.6-
> py2.5.egg/trac/htdocs/ but presumably I don't modify that one.
> 
> I tried copying these files elsewhere, replacing trac_banner.png with
> my own version and setting htdocs_location in the global trac.ini but
> then the sites just stopped rendering styles (and the logo was still
> the default one). Not sure why as the paths looked corrected but when I
> tried to load the stylesheet according to the path I got this
> error:
> TracError: IOError: [Errno 2] No such file or directory: '/www/trac/
> htdocs/VERSION'
> 
> Any help much appreciated!
> 
> --
> 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 trac-
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.


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