Steps to create new theme

Here are the simple steps that can be followed to create a new theme.Before we start making new theme we should know which are the files that are more important. There are certain files that every SugarCRM theme must contain. Those are:

  • themes//config.php - defines the name of the theme and the minimum Sugar version the theme will work in.
  • themes//footer.php - defines the HTML rendered at the bottom of the page.
  • themes//header.php - defines the HTML rendered at the top and the left of each page.
  • themes//layout_utils.php - By modifying the code in this file, you can change the look and feel of form headers/footers, form titles, graphs, etc.
  • themes//style.css - defines the style sheet for the theme. All of the different classes used throughout the application are typically defined in this file.

Now the easiest way to create a new theme is that, simply, cut and paste any one of the existing themes. And start modifying the theme which you have just pasted.

Some ideas for possible changes can be like:

  • Adding new images in the page header/footer or in the form headers/footers
  • Changing the color scheme
  • Changing the icons for each module.

Now to display the new theme under the drop down menu you have to edit your

theme1.JPG

  • themes//config.php - which defines the name of the theme.

Leave a Reply


OpenApp Media Network OpenApp Media Network

Various trademarks held by their respective owners.

Privacy Statement | Terms Of Service