Skin:Chameleon/Cookbook

This page is a collection of instructions on how to achieve more complex customizations of the Chameleon skin.

Problem:
I'm using user depending menus for a complex wiki. Therefore - with style monobook - we use the function "ModifySidebar" as described for monobook style.

Now I want to change to the Chameleon skin, but "ModifySidebar" doesn't work anymore.

Solution:
It is not really complex. The difference to skin Monotype in the HTML structure of the page is the following:

monotype structure

chameleon structure

Here is the JavaScript code that works for Chameleon: (click on Expand)

In  the new menu is added. First of all we add the new menu, then we add its menu items.