Issue Details (XML | Word | Printable)

Key: FOR-970
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Gavin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest

Add a way to have plugin specific resources, such as its own CSS styling, independent of skin or theme

Created: 25/Mar/07 10:32 PM   Updated: Wednesday 12:59 AM
Component/s: Plugins (general issues)
Affects Version/s: 0.7, 0.8
Fix Version/s: 0.10

Time Tracking:
Not Specified

Issue Links:
Dependants
 
Incorporates
 

Urgency: Normal


 Description  « Hide
It would be nice if plugins could be a little more independent of core skins and themes for plugin specific styling.
This could be CSS, or something else, I have only identified CSS needs at present.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ross Gardler added a comment - 25/Mar/07 10:36 PM
Can you provide a use case for this. When would a plugin be used independently of skins/themes?

As things stand at present plugins can provide CSS class attributes for generated elements. These classes can then be defined in skincon.xml (for skins) or in the theme definition in themes. Can you describe why this doesn't work out for your use case.

Ross Gardler added a comment - 25/Mar/07 10:52 PM
I see the use cases now Gavin (via the linked issues) - thanks.

Ross Gardler added a comment - 25/Mar/07 11:11 PM
I had the same need when I built the ecs input plugin (in whiteboard). The index.xml page describes what I did (basically defined the available CSS and expected the user to provide their own CSS). I opted for this because, since we don't know the users skin/theme we can't really provide meaningful default CSS.

However, I see some defaults may be useful.

My initial thought is that the plugins could provide an "extra.css" or "extra-css.xml" file. These can then be collated when the plugin is installed at startup. The collated document is then embedded in skinconf.xml or a dispatcher contract as appropriate.

Thorsten Scherler added a comment - 27/Mar/07 10:20 PM
I think the image should come from something like FOR-970