On Thu, Jun 3, 2010 at 11:49 AM, Noah Kantrowitz <[email protected]> wrote:
> On Jun 3, 2010, at 6:01 AM, Ben wrote:
>
[...]
>>
>> Is there a simple way to redirect my Trac project to use a different
>> htdocs folder?
>>
>> I've looked on the Trac Wiki and seen discussion of templates - is
>> that the only way to do this? Use the template method, it looks like
>> I have to write Python-like code to customise the template. Can't I
>> just point the project at my own copy of trac.css, say, and then
>> tinker with the layout in there?
>>
>
> No, best way to modify CSS is via the ThemeEngine plugin. With that you can
> just specify custom CSS in a text field on the admin screen.
>
You can also try TracExampleTheme . The Python code needed by the
theme is already there (you'll only need to perform obvious
modifications like theme name , flags if you include CSS , HTML
template ...). If you only want to provide CSS , just modify the
example CSS file and then
{{{
$ python setup.py install <= Install the theme (plugin)
$ sudo kill -s HUP `pgrep apache2` <= Restart the server
}}}
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
--
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.