Issue Details (XML | Word | Printable)

Key: XWIKI-637
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Sergiu Dumitriu
Reporter: Sergiu Dumitriu
Votes: 0
Watchers: 0
Operations

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

Way to specify the logo image

Created: 30/Dec/06 17:24   Updated: 01/Jan/07 14:42
Component/s: Core, Templates & User Interface
Affects Version/s: 1.0 B1
Fix Version/s: 1.0 B2

Issue Links:
Dependency
 

Resolution Date: 01/Jan/07 14:42


 Description  « Hide
The logo image is referenced in many places: css files, htmlheader.vm and rss feeds (possibly others). The name of this image is hardcoded to logo.gif, which is not the case anymore, since the new skin uses a png file.

We should add a new field either on XWikiSkin for specifying the right filename, and use this property when needed.



 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Sergiu Dumitriu added a comment - 01/Jan/07 14:42
Tou can now use:
$xwiki.getSkinPreferene("logo")

or, if a default value should be used if the current skin does not specify a logo:

$xwiki.getSkinPreference("logo", "logo.png")