I wanted to thank everyone for all the help on the list. I now have trac set up on RHEL WS 4, apache 2, postgres and subversion. I'm currently using HTTP basic auth, but I will be moving to our enterprise web authentication system (cookie based) or mod_auth_ldap as a fall back.

http://dev.dartmouth.edu/projects

There are four apache locations set up so that projects from each group could be displayed and listed together using Trac's automatic multiple project listing ability.

The first modifications I made was to add project.cs templates for the project listing pages. Each category has it's own template, mostly to allow different titles. The templates were built using the same SSI .html files used to define everything but the content on the static pages.

The next modifications were to the trac header.cs and trac.css file. Both files were first copied to a -orig so I had the originals for comparison or regression (no I didn't put this into subversion yet).

Wanting to change as little as possible, I was able to get a custom design by only changing the header file and leaving all the "content" templates alone. Again some of the .html files were included, although the header banner is slightly different from the static pages to account for the different needs of the Trac pages. Trac.css was modified in conjunction with the changes to header.cs. Minor changes to the css file allowed link colors in the content area to match.

One other minor change was made to env.py. I wanted the web admin to be automatically included with any new trac environment set up. Even though I have scripted the steps to create a project (svn, postgress, then trac), editing in the extra lines to the config files would be nice to have happen automatically. So added one line to env.py to add in the web admin:

        self.config.set('trac', 'database', db_str)
        self.config.set('components', 'webadmin.*', 'enabled') #added

That's it so far, if I figure anything else out I'll try and share back to the list.

Steve
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to