Opened 23 months ago

Last modified 23 months ago

#10970 reopened defect

How to activate theme?

Reported by: wcz@… Owned by: ejucovy
Priority: normal Component: LighterTheme
Severity: normal Keywords: installation
Cc: Trac Release: 1.0

Description (last modified by rjollos)

LighterTheme wiki page states that "This is currently a standalone plugin; ThemeEnginePlugin is not required".

So, how to activate this theme on Trac 1.0.1?

Attachments (3)

LighterTheme.png (50.3 KB) - added by rjollos 23 months ago.
theme_active.png (156.9 KB) - added by wcz@… 23 months ago.
theme_inactive.png (162.6 KB) - added by wcz@… 23 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 23 months ago by rjollos

  • Description modified (diff)
  • Keywords installation added

Changed 23 months ago by rjollos

comment:2 Changed 23 months ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

I tried it out just now. It installs like a standard plugin. See t:TracPlugins if you need more info on plugin installation. You can enable the plugin through the web admin panel.

Feel free to reply if you have any other questions.

Changed 23 months ago by wcz@…

Changed 23 months ago by wcz@…

comment:3 Changed 23 months ago by wcz@…

Now I see that plugin was active, but unfortunately look of trac is almost not changed. One difference I see is a line in the header.

Theme active:

Theme inactive:

comment:4 Changed 23 months ago by ethan.jucovy@…

  • Resolution worksforme deleted
  • Status changed from closed to reopened

It looks like the CSS is not being found.

I'd recommend viewing the page source in a browser and looking for a line that links to a CSS file with /lightertheme/ in the URL. Follow that link directly and check whether it returns the CSS file or a 404.

Also, how did you install LighterTheme -- from the latest release on PyPI? From the development branch on github?

Are you serving your Trac site's static files directly through Apache or similar? If so, I've heard reports that you might need to add a new Apache rule and/or copy lightertheme's CSS into your deployed static directory.

For what it's worth, the next release of lightertheme will have its CSS (somewhat) dynamically generated, which might end up simplifying this deployment story.

Add Comment

Modify Ticket

as reopened The owner will remain ejucovy.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.