Templates

How to use templates for product and content pages.

Overview

By default, all content pages will be linked to /content/page.tpl.html. This is normally an empty page, where you include your standard header and footer, along with the <SMARTY VARIABLE NAME?> variable which displays your actual content. However there are times where you want to always include some page elements, yet only on specific pages. There may be other times where you want to create an entirely different page, such as a landing page that does not contain your standard header or footer. This function allows you to do these things.

How it works

Products

You can create your own product templates for individual product details pages

  1. Enter the Template Name, an easy to remember name for this specific template.
  2. Enter the Type as Product
  3. Enter the Filename, which must not include ".tpl.html". Aurora will automatically look for the file within the /products/ template folder.
  4. Navigate to Products to add/edit a product.
  5. Select the Template and Save the page

Content

You can create your own content templates for individual content pages

  1. Enter the Template Name, an easy to remember name for this specific template.
  2. Enter the Type as Content.
  3. Enter the Filename, which must not include ".tpl.html". Aurora will automatically look for the file within the /content/ template folder.
  4. Navigate to Content to add/edit a page or blog.
  5. Select the Template and Save the page.

👍

You can choose your template when editing or adding a new content or products in Aurora.