HOW TO:Create Custom Theme for MachPanel Control Server

Expand / Collapse
 

HOW TO:Create Custom Theme for MachPanel Control Server


Summary:

This article explains the steps to create custom theme for MachPanel, where you would like to give your own look and feel to the panel.

Applies To:

MachPanel Control Server.

Steps to Follow:

To modify the control panel theme, you need to modify the CSS and other files you want in the theme folder.  Before making any sort of changes, first you need to create a copy of theme folder, rename it and modify content inside the theme folder.

Please follow the steps below to achieve your goal:

1. Create new theme folder:

a.    Make a copy of the default theme folder “Default” folder from following location:
C:\Program Files\MachSol, Inc\MachPanel\App_Themes\

Name it something like “NewTheme”, Making the new path:
C:\Program Files\MachSol, Inc\MachPanel\App_Themes\NewTheme\

b.    Modify content of “NewTheme” folder as per your requirements.


2. Apply new theme on MachPanel:

a.     Make changes in Web.Config file of MachPanel which is located at:
C:\Program Files\MachSol, Inc\MachPanel\

b.    Open the Web.Config file in any editor and locate following text:

                        <globalization culture="en-US" uiCulture="en-US" requestEncoding="utf-8" responseEncoding="utf-8" />
                        <customErrors mode="Off" defaultRedirect="~/Auth/Error.aspx" />
                        <!--<trace traceMode="SortByTime" enabled="true" requestLimit="3600" pageOutput="true" localOnly="false"  />-->
                        <pages theme="Default">

c.    Change text to:

                        <globalization culture="en-US" uiCulture="en-US" requestEncoding="utf-8" responseEncoding="utf-8" />
                        <customErrors mode="Off" defaultRedirect="~/Auth/Error.aspx" />
                        <!--<trace traceMode="SortByTime" enabled="true" requestLimit="3600" pageOutput="true" localOnly="false"  />-->
                        <pages theme="NewTheme">

Your personlized settings from "NewTheme" folder will be implemented.  This is not overwritten by any future Update, but in case there are changes made to how theme functions, then further modification may be required again.

It would be best that you keep a copy of all MachPanel files and MachPanel Database separate from the files in use.  Always backup all the files and database before making any changes.  Please follow the KB article on the link below to create backups:

http://kb.machsol.com/Knowledgebase/Article/50248



Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Type: HOW TO
Level: Aadvanced
Last Modified:Friday, December 09, 2011
Last Modified By: abdullah.afaq
Rated 5 stars based on 1 vote
Article has been viewed 176 times.
Options