Modify

Opened 12 years ago

Last modified 12 years 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 Ryan J Ollos)

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 Ryan J Ollos 12 years ago.
theme_active.png (156.9 KB) - added by wcz@… 12 years ago.
theme_inactive.png (162.6 KB) - added by wcz@… 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Keywords: installation added

Changed 12 years ago by Ryan J Ollos

Attachment: LighterTheme.png added

comment:2 Changed 12 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

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 12 years ago by wcz@…

Attachment: theme_active.png added

Changed 12 years ago by wcz@…

Attachment: theme_inactive.png added

comment:3 Changed 12 years 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 12 years ago by ethan.jucovy@…

Resolution: worksforme
Status: closedreopened

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain ejucovy.

Add Comment


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

 
Note: See TracTickets for help on using tickets.