On Wednesday, August 13, 2014 9:50:53 AM UTC-7, Jared Bownds wrote:
>
> URL: http://trac.edgewall.org/wiki/CookBook/TracLayoutRecipe
>
> I've followed the instructions listed in the URL above to the best of my
> ability, but I'm obviously not setting something properly in the css
> configuration.
>
> All graphics located in the gfx directory are accessible via <base
> url>/chrome/site/gfx/shadow.gif - and are one level up from the location
> of the htdocs folder containing projects.css
>
> What am I doing wrong? I've successfully configured other css and
> site.html in the context of trac in the past.
>
> *Index:*
>
>
> 1. Present state of trac development site
> 2. Trac.ini snippet
> 3. site.html (modified to read css from htdocs)
> 4. projects.css
>
>
The first hint is to view the page source (CTRL+U in Chrome). You will
likely find that the link to projects.css is invalid.
I'm not sure where you've put your CSS files. Let's assume you do the
following:
[inherit]
htdocs_dir = /srv/trac/trac/htdocs
and that within that htdocs directory you have:
css/projects.css
gfx/blkgnd_pattern.png
gfx/blkgrad.png
...
In the Trac Layout Recipe, there is a step //make sure to update the URL if
needed for your setup.// I suspect that is the one you missed.
You need to edit the 13th line in site.html to point to the CSS file:
href="${href.chrome('shared/css/projects.css'})"
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.