[xwiki-users] Skin Modification

Vincent Massol vincent at massol.net
Wed May 23 10:04:17 CEST 2007


Hi Roopesh,

On May 22, 2007, at 9:42 PM, Jerome Velociter wrote:

> Hello,
>
> The easiest way (but maybe not the most intuitive) is to edit your  
> skin within your wiki. What you have to do is create a new document  
> (say "XWiki.MyNewSkin") and add it a XWiki.XWikiSkins object from  
> the object editor.

Actually even simpler, you can just click on the "Customize" button.  
It's in the skin tab when you go in the Administration.

> Then you can feed the fields with code of one of the given xwiki  
> skin. For example, copy/paste the content of the " style.css" file  
> of skin albatross in the "style" field (header.vm in the header  
> field, and so on).
> Now, to personnalize your skin, you can modify/override css and  
> velocity code directly in your skin object.
>
> If you want to go further, you can also add new fields to your  
> XWikiSkins class from the class editor, and override those in your  
> skin object. For example, add a field named "htmlheader.vm", copy  
> paste its content from the albatross skin, and then modify it,  
> xwiki will take care of parsing it when displaying your skin.

And also for reference:
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Skins

Thanks
-Vincent

>
> Have fun,
>
> Jerome.
>
> On 5/22/07, roopesh at digitalglue.in < roopesh at digitalglue.in> wrote:
> Hi
>
> I have a basic question regarding skin modification. To make a skin  
> altogether, i.e., a skin which is very different from albatross  
> skin. Say, I need to place the edit, view, rename, delete panel to  
> be placed a bit more lower, I want to change the width of the right  
> panel thinner etc.
>
> What to go about to achieve this. Now I have changed the almost all  
> of the css files in albatross skin to change the look and feel. It  
> works fine in FF but is too messed up in IE. Is there an easier way  
> to do this ?
>
> Regards
> Roopesh
>
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> users at objectweb.org mailing list.
> To unsubscribe: mailto: xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws
>
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws

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


More information about the users mailing list