| Hi,
| 
| I want to customize the Trac interface somewhat.  I read the
| TracInterfaceCustomization page and that tells me something about a site
| css. I do not quite understand what is meant by the explanation. Is
| there a longer, more tutorial like explanation somewhere, or does anyone
| has a (simple) example he would likt to share?

I'm using trac-0.10.4, and this is what I do:

in your trac environment put a css stylesheet containing all
the values or settings you want to override (i.e. they will
replace the trac's defaults):

htdocs/css/myowntracstyles.css

You might want to go over the global CSS stylesheet
(splitted in several files) to see what you have to
override. In my FreeBSD box they're under
/usr/local/share/trac/htdocs/css/
about.css     code.css      roadmap.css   timeline.css
browser.css   diff.css      search.css    trac.css
changeset.css report.css    ticket.css    wiki.css


Then in templates/site_css.cs put a line to make trac import your
new stylesheet:

@import url(/path/to/your/trac/chrome/site/css/myowntracstyles.css);

where /path/to/your/trac is whatever URL you use to access
your trac, without the http://host part, i.e. something like
/trac/chrome/site/css/myowntracstyles.css
or
/trac/project1/chrome/site/css/myowntracstyles.css
if you host several trac projects under /trac

Finally, add a logo image and some other customizations from
conf/trac.ini

Hope this helps,

Fernan

PS: you can check one customized trac here
http://genoma.unsam.edu.ar/trac/docencia

| My second question is about Trac's footer: I would like to replace the
| logo and the text on the right side, not the powered by element. Is that
| possible without changing the source?
| 
| TIA
| 
| -- 
| Groeten,
| 
| Joost Kraaijeveld
| Askesis B.V.
| Molukkenstraat 14
| 6524NB Nijmegen
| tel: 024-3888063 / 06-51855277
| fax: 024-3608416
| web: www.askesis.nl
| 
| 
| | 
|
+----]

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