Lost License Key?

Please keep me informed of Widget Press news, software updates and products.

Widget Press Privacy Policy

Browse Support

How To Create a ModelBaker Theme

The following article describes how to create a ModelBaker theme. It assumes you have already created all your CSS, JS, Layout files and they are sitting within a folder on your desktop. Pay special attention to the naming conventions in this article.

  1. Create your graphic assets.

    Collect your graphics assets together, including any info.plist, images, style sheets, javascript files and layouts (.ctp). Place them in a folder on your desktop called 'Web Site Assets'.

    ModelBaker graphic assets sitting on desktop

    Your collection of graphical assets should look something like the following.

    ModelBaker graphic assets sitting on desktop
  2. Create a new folder on your desktop and name it "CornFlowerBlue".

    This folder will contain as the foundation folder for our theme.

    Create CornFlowerBlue folder
  3. Create another folder called "CornFlowerBlue" within the "CornFlowerBlue" folder.

    Create CornFlowerBlue folder
  4. Create two new folders called "views" and "webroot" within the innermost "CornFlowerBlue" folder.

    Create CornFlowerBlue folder
  5. Create a new folder called "layouts" within the "views" folder.

    Create CornFlowerBlue folder
  6. Create three new folders within the "layouts" folder called "js","rss" and "xml".

    Create CornFlowerBlue folder
  7. Create four new folders within the "webroot" folder called "css","files","img" and "js".

    Create CornFlowerBlue folder
  8. Drag and drop your assets into the appropriate folders.

    Move your graphics into your 'img' folder. Move your stylesheets into you 'css' folder.

    Create CornFlowerBlue folder

    Move your preview .PNG file and the info.plist to the main "CornFlowerBlue" directory level. It should be on the tree level as the second "CornFlowerBlue" directory. Please note the naming conventions used, make sure the folders and preview image are named the same.

    Create CornFlowerBlue folder
  9. Add the ".mbtheme" file extension to the "CornFlowerBlue" folder.

    Create CornFlowerBlue folder
  10. Drag the "CornFlowerBlue.mbtheme" file to your "~/Library/Application Support/ModelBaker/Themes" folder.

    This is how we install our ModelBaker themes. Once installed, relaunch ModelBaker.

    Create CornFlowerBlue folder
  11. Your custom ModelBaker Theme is now installed.

    This is how we install our ModelBaker themes. Once installed, relaunch ModelBaker.

    Create CornFlowerBlue folder

Last modified on January 05, 2009