YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Create a new ZOO module theme

This tutorial will walk you through the process of creating a new module theme for ZOO 2.0 extension. We will show the steps on the basis of ZOO item module.

Getting started

All the files for a ZOO module are usually located in /modules/MODULE/.

For ZOO item module for example the path is /modules/mod_zooitem/.

In the folder /tmpl/ all files for the theme are stored. The folder /renderer/item/ contains all files for the layouts.

Creating a new theme

The themes of a ZOO module are stored in the folder /tmpl/ of the module folder, for example for ZOO item module, the folder is: /modules/mod_zooitem/tmpl/.

The easiest way to create a new theme is to have a look at the existing ones and copy the code and then change it to your needs. Give the file a new name like myliststyle.php

Then just add your new myliststyle.php file to /modules/mod_zooitem/tmpl/.

For every template there is a folder with all images and css styles. You have to create this folder for your new style and create the css files. Please don't forget to change the paths in the myliststyle.php to your newly created folders.

As themes are unique for every module, we won't get into detail here. There is a longer tutorial explaining the customization of templates here that can be adapted.

Documentation on Github

Help us out! If you are feeling that our documentation has errors or can be improved, fork it at Github and send us a pull request. Any contribution is much appreciated. Thank you!