
Originally Posted by
Sash
Does anyone know how to add a menu to the x3 theme in cpanel? The Mail, Security, File, Domains....etc menus.
Thanks,
Mike
There's no official support for this at this time. However, there is a kludge that would work in the meantime.
By using the Branding Editor, you can edit index.html (the entry page that has those menus/groups) and add your own section either above or below all of the pre-existing sections. The following code can be inserted at the beginning of the boxes "div" and before <cp Branding:applist() > to place your custom group above all other groups:
HTML Code:
<div id="myGroup" class="itembox">
<div id="myGroup-bdrop" class="celldrop"> </div>
<div class="cellbox">
<h6 id="myGroup-header" title="Double click to collapse/expand. Click to drag." style="clear:none;" ondblclick="rollbox(this);" class="ie-hover"><div id="myGroup-expander" class="box-collapse-control" style="float:right" onClick="rollbox(this);"> </div>myGroup Section Title</h6>
<div id="myGroup-body">
HTML to go in this custom section.
<div class="clearit"> </div>
</div>
</div>
<div id="myGroup-adrop" class="celldrop"> </div>
</div>
You can place any HTML or API1/API2 code inside the body of the section.
Note, this is a kludge since if the user drags the box, there is no method of saving that placement at this time so the box will always appear at the top (or at the bottom if you place it before the boxes "/div").