[Catalyst-dev] Theming trac

Kiki kiki at bsdro.org
Wed May 24 11:50:37 CEST 2006


Hello,

I'm the one responsible for theming trac when it was at 0.8.x to match
the Catalyst main page theme.

Attached are the notes (walkthrough style) for theming trac. Sadly they
apply to 0.8.x only. The idea is to wrap the trac page with the
necessary html elements which are the styled with the (multiple) Cat
specific css files.

The general problems with this approach to theming trac for Catalyst are:

- while trac is designed for 100% browser width, the Catalyst theme is
designed for a reduced width, leading to overflowing text (apparently
only in the svn browser view)

- trac already comes with two menus (and a search box), add the main Cat
menu, we have three menus which kinda clutters the page and does quite
nasty things to the html structure.

- the colors of the default trac theme don't match the colors of the Cat
theme

The main problems with 0.9.x:

- the python API used to determine which tab of the main Cat menu to
highlight (see section 4.2. of the attached file) has changed radically.
I have neither the time nor the willingness to re-discover the new API.

- from a quick glance at the trac templates it seems that the insertion
of the nav menu is also handled differently.

However I would be willing to contribute code or other resources to a
Perl-based solution.

Another issue to discuss/do is the reorganization of the trac wiki
structure which I have started but which is currently paused due to lack
of time. Further info:

http://dev.catalyst.perl.org/wiki/SiteMap - general structure

http://dev.catalyst.perl.org/wiki/Meta/Organization - ideas about the
reorganization

Grün Christian-Rolf (aka Kiki)
kixx (or kixxx) on #catalyst

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trac_customization.txt
Url: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20060524/f1671779/attachment.txt 


More information about the Catalyst-dev mailing list