Restoring a broken XWikiSkins class

Peter Flynn pflynn at adobe.com
Wed Dec 13 23:57:45 CET 2006


Hey everyone,

 

Sorry to be posting yet again, but...  I seem to have broken my
XWikiSkins class and am looking for a way to restore it to the
out-of-box default.  Can this be done easily?

 

The story is this:

 

I've been trying to set up a new skin for my XWiki instance, based on
the default one.  This has been tricky since the default skin imports a
bunch of extra CSS files which are not shown in the skin-editor form
that XWiki uses.  I edited the XWikiSkins class to add some of these
files to the display.

 

But that didn't work as well as I'd hoped, so I wanted to delete these
properties from the XWikiSkins class.  Seeing nothing in the UI to do
that, I tried clearing all the form fields and saving it.  I got an
error that property names can only be "A-Za-z0-9", which makes sense.
However, it looks like something went really wrong behind the scenes.
When I viewed this class again, it was missing all of the properties
except for one ("Page Menu").  This seems like a serious bug in the
Class Editor, but I am less concerned about that than I am about getting
the skins class back to normal.

 

So, is there any easy way to do this?

 

Thanks again,

 

- Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20061213/93233ef8/attachment-0001.htm 


More information about the users mailing list