Themes

From PsychoStats

Jump to: navigation, search

PsychoStats has advanced theme support that allows virtually any layout or design imaginable to the web designer, while keeping most programming logic out of the themes. The Smarty Template Engine makes this support possible using a very easy template language which supports logic, expressions and simple variables.

PsychoStats uses a parent -> child hierarchy for themes which means it's possible to create a child theme of another main theme. The child theme then inherits all pages and style from the parent automatically. If all you want to do is change a few colors or images within an existing theme the child theme would only need to contain the modified files in order to work. This is known as skinning a theme. Since only the modified files are required for the child theme it makes maintaining the theme very easy. And if the parent theme ever changes the child theme might only need very minor changes, or no changes at all in order to continue working.

Theme Installation

Screenshot of theme ACP
Screenshot of theme ACP

The Admin Control Panel (ACP) in PsychoStats includes an automatic theme installation wizard that allows you to download and install new themes from anywhere on the Internet. As this new feature matures I hope have a good theme repository that will allow users to put their themes online for sharing in an easy to search location.

Theme Authoring

This section is not complete and is a work in progress

To create a theme, It's best to start from the default theme that comes with PsychoStats. You can then decide if you want to make an entirely new theme or a child of the default theme.

Where to get new themes?

The community site for PsychoStats has been the location to contribute but is in the process of being updated for PsychoStats 3.1. In the mean time, users can use the forums and post their themes until the community section of the site is updated.