IssueTrackerProduct

A user friendly bug tracking web application for Zope

Use a forced stylesheetUse a forced stylesheet

13 Jun 2005

Suppose you have a stylesheet (locally or globally) that you want to show any issuetracker page with, what do you do?

Version requirement:

Min. version: 0.6.9

All you have to do is to set the forced-stylesheet request variable valued to be the stylesheet you want to use instead. For example:

 http://localhost:8080/issuetracker/ListIssues?forced-stylesheet=report.css

This would of course only work if the css file resolves on http://localhost:8080/issuetracker/report.css. Suppose you have the stylesheet on another server, then you can pass the URL for that. So if the stylesheet you have is on http://some.com/better.css, then all you need to do is http://localhost:8080/issuetracker/ListIssues?f...eet=http://some.com/better.css

This only only works for that particular page. Everything goes back to normal once you remove the request variable. This feature can be very useful if you want to make a special printout of showing an issue or listing a selected few for a report or something like that. It is obviously also useful if you want to experiment with a different look on the issuetracker instance and you don't want to use CheckoutableTemplates

<<< Return to all how-tos