Home Page

Your Home Page will be shown to the visitors by default if they don't provide anything specific to the URL. This fact makes it be one of the most visited pages on your store.

This article provides details about Home Page, a list of used variables and how to use them.

Introduction

Your Home Page will be shown to the visitors by default if they don't provide anything specific to the URL. This fact makes it be one of the most visited pages on your store.

Within your templates folder, you will find in the root directory a file called index.tpl.html. This file will contain all of the Smarty logic that you can use to determine exactly how you want your home page to look.  Unlike most other areas of the front-end, there are few default variables you would use here, so it really is a blank canvas that you can use to do anything you want.  

Managing your Home Page

Where to access the Home Page

The Home Page can be accessed on your store if you just type in your store domain. Please see the example provided by the Aurora Demo Store below.

http://demo.auroracommerce.com/

Where to find the Home Page Templates

The template that should be used to control the content of the Home Page and should be placed into your template directory and named as follows:

templates/your-template-dir/index.tpl.html

Variables available in the Sitemap page

The following is a list of variables that can be accessed by the Aurora Front-end Templates.

Variable nameTypeDescription
$latest_newsArray [ $latest_news_item ]An array of last 5 live Blog Posts.

Blog Posts will only be included here if they:

Are set in the Aurora Back-end to be live.
Are set in the Aurora Back-end to be news.
$latest_news_itemContainerA Container holding all of a Blog Post's details.
$latest_news_item.idIntegerThe Internal ID Aurora uses to identify a Blog Post.
$latest_news_item.titleStringThe Title given to the Blog Post.
$latest_news_item.date_createdDate StringThe date the Blog Post was created.
$latest_news_item.page_introductionStringExcerpt
$pageTypeArrayDetermine the main area of the site you are on. Please refer to Global Template Variables article for more information.
$trackingArrayAn array of Affiliate and Traffic Tracking Codes to the Aurora Front-end.
$tracking.headerStringHeader tracking code content.
$tracking.footerStringFooter tracking code content.

Related Aurora Demo Example Templates
templates/example.com/index.tpl.html