[Catalyst-dev] Theming trac

Marcello Romani mromani at ottotecnica.com
Wed May 24 13:18:25 CEST 2006


Kiki ha scritto:
> 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

I have added a link about Authz.

I think the current page Faq_ref would be a good starting point for the 
FAQ page (currently empty), although it shows a mix of questions that 
are current with recent Cat versions and question that are no longer 
relevant, either because some issues have been fixed or because things 
are done differently now (e.g. authz plugins).

Just my 2 eurocents :-)

> 
> http://dev.catalyst.perl.org/wiki/Meta/Organization - ideas about the
> reorganization
> 
> Grün Christian-Rolf (aka Kiki)
> kixx (or kixxx) on #catalyst
> 
-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com



More information about the Catalyst-dev mailing list