Using the Template Editor

  • Overview

    The Template Editor is available to both skins and modules. It is one method to alter the way information is presented.

    Jamroom skins and modules are laid out using Smarty Templating Code. This code can be altered either directly in the file system by uploading new versions of the .tpl template files, or by using the Template Editor found on the TEMPLATES tab of both modules and skins.
  • Modify the Template

    Modify the Template
    screenshot of the modify button for the footer.tpl file of the current skin.
  • Clicking on the MODIFY button of the template you are interested in changing will open up the Template Editor and allow you to make changes.
  • screenshot of the template editor with the footer.tpl file open in it.
  • Saving your Changes

    You can add extra code to this file which will then be displayed in your site once activated.

    Make the changes that you want to to the HTML of your site and click SAVE CHANGES to write them to the datastore.
  • Activate the Saved Template

    Now you have a custom template that exists, next you need to activate it.

    Click the CANCEL button or the TEMPLATES tab to get back to the list of templates. You will see that the template you just altered has a checkbox in the ACTIVE column.

    You must check this checkbox and click the SAVE button at the bottom of the list to make it active.
  • screenshot of the activate template checkbox checked
  • IMPORTANT: Adding javascript to you're templates? READ THIS