Basic Overview

All themes are rendered through the template system. The template system works by combining several different templates together. Generally, this means:

  • Header
  • Template for the page being viewed
  • Footer

Header

The header contains the top section of your website. This generally includes style sheets, javascripts, page headers, your logo, and often times your site's navigation.

The program will automatically add the following scripts to your header above your </head> tag:

<script src="PATH/pp-js/jquery.js" type="text/javascript"></script>
<script src="PATH/pp-js/jquery.ui.js" type="text/javascript"></script>
<script type="text/javascript">
var zen_url='URL TO ZENBERSHIP DIRECTORY';
var zen_theme='THEME NAME';
var check_pwd_strength='PASSWORD STRENGTH';
</script>

Template

This content is rendered between the header and footer and contains the applicable content for the page that a user is viewing.

Sub-Templates

Many templates have "sub-templates" that are rendered and and then added into the primary template through special caller tags.

Footer

The footer contains the bottom section of your website. This generally includes copyrights and javascripts.

The program will automatically add the following scripts to your header above your </body> tag:

<script src="PATH/pp-js/form_functions.js" type="text/javascript"></script>
<script src="PATH/pp-templates/html/THEME_NAME/js/functions.js" type="text/javascript"></script>

Google Analytics

The program will also automatically add Google Analytics tracking code if you have inputted your Analytics ID within the program's options.

Article Links

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/06/23.
Last updated on 2013/07/17.

Was this article helpful?
Yes (0) - No (0)