Version 3.2: Smarty Template Reference
IMPORTANT VERSION NOTICE: This template reference is for CMS version 3.2 only – Other versions have different templates and template names than those listed here.
Developers - Please download our Smarty Reference Doc for a more technical breakdown of how to edit smarty code:
https://support.elevatedx.com/index.php?/Knowledgebase/Article/View/186/11/templating-elevated-x-using-the-smarty-templating-language
Smarty Templates edited on your server VIA FTP. They may also be downloaded and edited in a HTML editor and then uploaded.
WARNING: Some HTML editors including popular ones such as Dreamweaver add and create their own code that may break your templates. ALWAYS backup your template folder locally before making any changes. We do not have backup copies of your design or templates.
Smarty templates can be edited by anyone who is HTML fluent and comfortable hand editing HTML. By default, the templates reference external stylesheets style.css and mobilestyle.css as well as CSS files inside folder /js/ for jQuery areas such as the coming soon carousel.
Template files are located on your server inside your cms_admin/smarty/ folder. You will have 1 folder of templates for each of your sites.
Smarty Template Index
config
This folder contains the configuration variables used by the members, tour and trial areas. Included in each template in this folder are paths for CSS, content and RSS.
Top Level Templates
Top level templates control the page layout. Within each template are calls to sub templates for the different sections of the page. These are called using a tag {include file="$spath/bonus/SUB-TEMPLATE-NAME.tpl"}
The top level templates call sub-templates that reside in their own sub-folder. Global, site-wide shared elements are located inside the sub-folder /general/. Sub-templates related to each page are located in their own folder. For example the search page’s main template is search.tpl and its sub-templates are inside a folder named /search.
advancedsearch.tpl
The template used for the members/trial/network style tour page advancedsearch.php
bonus.tpl
The template used for the members/trial/network style tour page bonus.php
This page shows the bonus sites, video feeds, audio files, erotic stories, cam and friends bonus content.
calendar.tpl
The template used for the members /trial/network style tour page calendar.php
category.tpl
The template used for the member s/trial/network style tour page category.php
This page shows the photos index, movies index and models index. It also shows a listing of matching content when a user clicks a model link or keyword tag.
category_outside.tpl
The template used for the episode style tour page category.php
This page shows the models index. It also shows a listing of matching content when a user clicks a model link or keyword tag.
dvds.tpl
The template used for the members/trial/network style tour page dvds.php
error.tpl
The template used for the members/trial/ network style tour error page error.php
faq.tpl
The template used for the members/trial/network style tour page faq.php
favorites.tpl
The template used for the members/trial/network style tour page favorites.php
gallery.tpl
The template used for the members/trial/network style tour page gallery.php
This page shows the photo gallery thumbnails and video links and embedded video.
image.tpl
The template used for the members/trial/ network style tour error page image.php
This page shows the full size photos including the slideshow. It also shows embedded movie clips and video for all but the main/primary embedded video that plays on gallery.php.
index.tpl
The template used for the main members/trial/network style tour page index.php
mailbox.tpl
The template used for the members/trial private message page mailbox.php
news.tpl
The template used for the main members/trial/network style tour page news.php
news_outside.tpl
The template used for the episode style tour page news.php
offers.tpl
The template used for the members/trial/network style tour page offers.php
This page shows a full page offer when a user first logs into a site.
search.tpl
The template used for the main members/trial/network style tour page search.php
This page shows the search results when someone uses a search form.
sets.tpl
The template used for the main members/trial/network style tour page sets.php
This page shows the updates/sets that are associated to a model. It also shows the model bio and related upsells.
tour1.tpl
The template used for the episode style tour page index.php
This page shows the tour index page and the individual episode view for each update.
trailer.tpl
The template used for the episode style tour page trailer.php
This page shows the tour embedded trailer page and the individual episode view for each update.
Sub Templates
Each top level template has a separate folder that holds its sub templates. The name of the folder matches the name of the top level template it belongs to.
Sub-templates are split up. Each sub-template controls 1 part of the page.
bonus folder
Used by members/trial/network style tour
bonuscontent.tpl
This template controls where the page navigation (page numbers and previous/next links) are shown. It also controls the layout for the individual rows of bonus content.
bonusindex.tpl
This template controls the index of text links leading to the bonus content options. This is only shown on the site if someone access bonus.php directly.
bonustable.tpl
This template controls the layout of the table that shows the bonus content listings.
pagenav.tpl
This template controls the page numbers and previous/next links.
showbonus.tpl
This template controls the layout of the table that shows the bonus content including the title, thumbnail and description.
showstory.tpl
This template controls the layout of the table that shows the erotic story listings.
story_item.tpl
This template controls the layout of the erotic story.
xmlfeed.tpl
This file is used by automatically updated 3rd party feeds and should not be edited.
xmlfeeditem.tpl
This file is used by automatically updated 3rd party feeds and should not be edited.
category folder
Used by members/trial/ network style tour
category_item.tpl
This template controls the layout of the table that shows the category page listing including the title, thumbnail and description of each update.
pagenav.tpl
This template controls the page numbers and previous/next links.
pg_category.tpl
This template controls the link behavior for the category page navigation. This template should not be edited.
category_outside folder
Used by episode style tour
category_item_outside.tpl
This template controls the layout of the table that shows the category page listing including the title, thumbnail and description of each update.
pagenav.tpl
This template controls the page numbers and previous/next links.
pg_category.tpl
This template controls the link behavior for the category page navigation. This template should not be edited.
dvds folder
Used by members/trial/ network style tour
dvd1.tpl
This template controls the layout of the individual DVD title page including the title, boxcover, description and the location on the page of the scene listing.
dvd_index.tpl
This template controls the layout of the DVD listing page showing 5 DVD boxes per row.
dvd_item.tpl
This template controls the layout of the DVD item including boxcover, and link to view the DVD that’s shown on dvd_index.tpl.
pagenav.tpl
This template controls the page numbers and previous/next links.
scene_item.tpl
This template controls the layout of the individual scene listing including the title, thumbnail, description, categories and model links.
faq folder
faq1.tpl
This template controls the layout of the FAQ page contents.
favorites folder
favorites_item.tpl
This template controls the layout of the favorite update.
favoriteslink.tpl
This template controls the icon and link to add/remove an update from favorites.
tag_item.tpl
This template controls the layout of the tagged update.
taglist.tpl
This template controls the layout of the list of keyword tags.
viewtags.tpl
This template controls the layout of the listing of tagged updates.
gallery folder
additionalphotosizes.tpl
This template controls the layout of the table that shows the links to the different photo sizes and Zip files available for an update.
commentsui.tpl
This template controls the layout of the users comments section.
favoriteslink.tpl
This template controls the layout of the add to/remove from favorites link.
fulldownload_link.tpl
This template controls the layout of the table that shows the links to the different full length movie download formats and sizes available for an update.
gallery1.tpl
This template controls the layout of the bulk of the gallery page. Due to the amount of functions it contains, this page is one of the more difficult to edit.
gallery_trial_js_movie.tpl
This file is used for video playback. This template should not be edited.
gallerynav.tpl
This template controls the previous/next links for gallery pages and video clips.
js_picarr.tpl
This file is used for video playback. This template should not be edited.
playflash.tpl
This template controls the layout of the wrapper table for the flash file. This template does not typically require editing - the background color is controlled in the CSS file.
playmovie.tpl
This template controls the layout of the wrapper table for embedded movies. This template does not typically require editing - the background color is controlled in the CSS file.
showlink.tpl
This template controls the layout of the video clip play and download links for each clip.
showthumb.tpl
This template controls the layout of each photo gallery thumbnail.
suggestedupdates.tpl
This template controls the layout of the relevant/suggested updates table.
suggesttags.tpl
This template controls the layout of the table that shows the link to suggest keyword tags and the suggestion form that shows when clicked.
trial_pg_image.tpl
This template is used for trial area functionality. This template should not be edited.
update_item.tpl
This template controls the layout of each update listed in the suggested updates table.
vid-link.tpl
This template controls the layout of the video clip thumbnail and the table/grid of format and delivery options for the video clips.
ziplink.tpl
This template controls the layout of photo Zip file download link.
a-zlinks.tpl
This template controls the layout of the A-Z list of model name text links.
display_movielength.tpl
This template controls the layout of the text showing the movie length for each update.
fulldownload_link.tpl
This template controls the layout of the full movie download link.
header.tpl
This template controls the layout of the header image.
languagebar.tpl
This template controls the layout of the multiple language dropdown menu.
mailinglistform.tpl
This template controls the layout of the mailing list subscription form.
news_small.tpl
This template controls the small news update teaser shown on the index page.
page_bottom.tpl
This template controls the wrapper file for the bottom of the page including the HTML footer elements.
page_top.tpl
This template controls the wrapper file for the top of the page including the HTML header elements.
pagenav.tpl
This template controls the page numbers and previous/next links.
pg_gallery.tpl
This template controls gallery link behavior. This template should not be edited.
pg_image.tpl
This template controls image link behavior. This template should not be edited.
poll.tpl
This template controls the layout of the poll.
searchbar.tpl
This template controls the layout of the search bar.
showbanner.tpl
This template controls the layout of the default banners.
showmodel.tpl
This template controls the layout of the models on the top rated model top list.
showtextad.tpl
This template controls the layout of the default text ad shown at the bottom of the members index page.
sitelink.tpl
This template controls the site link for listing the name of the All Access Network sub-site an update belongs to. This template is only used by sites with the All Access Network Setup.
sitesdd.tpl
This template controls the dropdown menu of links for All Access Network sub-sites. This template is only used by sites with the All Access Network Setup.
stdimage.tpl
This template controls the standard image HTML tag and allows passing of priority variables.
toplist_models.tpl
This template controls the layout of the top list that shows the top rated models.
toplist_stats.tpl
This template controls the layout of the top list that shows statistics such as most viewed updates.
toplist_updates.tpl
This template controls the layout of the top list that shows the top rated updates.
topnav.tpl
This template controls the top navigation bar of text links.
trial_pg_image.tpl
This template controls trial image link behavior. This template should not be edited.
votefrm.tpl
This template controls the layout of the wrapper for the vote/rating stars.
votefrm_model.tpl
This template controls the layout of the wrapper for the model vote/rating stars.
votefrm_model_sub.tpl
This template controls the layout of the model vote/rating stars.
votefrm_sub.tpl
This template controls the layout of the vote/rating stars.
Index folder
comingsoon_item.tpl
This template controls the layout of the coming soon/future update item.
dvd_item.tpl
This template controls the layout of the DVD item including boxcover, and link to view the DVD.
latestdvds.tpl
This template controls the layout of the latest DVD listings.
latestupdates.tpl
This template controls the layout of the latest update listings.
pg_index.tpl
This template controls page link behavior. This template should not be edited.
update_item.tpl
This template controls the layout of the latest update including the title, thumbnail and description.
whatshot.tpl
This template controls the layout of the featured What’s Hot section.
mailbox folder
mailbox_composemessage.tpl
This template controls the layout of the compose message page.
mailbox_messagelist.tpl
This template controls the layout of the message listing page.
mailbox_readmessage.tpl
This template controls the layout of the read message page.
news folder
commentsui.tpl
This template controls the layout of the users comments section.
news1.tpl
This template controls the layout of the news listing page and the page that shows the news article.
pagenav.tpl
This template controls the page numbers and previous/next links.
pg_news.tpl
This template controls page link behavior. This template should not be edited.
search folder
advancedsearch_box.tpl
This template controls the layout and contents of the advanced search form.
pagenav.tpl
This template controls the page numbers and previous/next links.
search_item.tpl
This template controls the layout of the table that shows the search result including the title, thumbnail and description of each update.
sets folder
pagenav.tpl
This template controls the page numbers and previous/next links.
set_item.tpl
This template controls the layout of the table that shows the model’s updates including the title, thumbnail and description of each update.
tour1 folder
comingsoon_item.tpl
This template controls the layout of the coming soon/future update item.
episode.tpl
This template controls the layout of the update episode table.
episode_undertext.tpl
This template controls the text links that are alternated after each episode table.
footer.tpl
This template controls the page footer.
header.tpl
This template controls the header including the rotation of header images placed inside the images/header folder.
moreupdates.tpl
This template controls the layout of the table of thumbnails for past updates.
moreupdates_item.tpl
This template controls the layout of the coming soon/future update item including the title, thumbnail and link to the episode.
news1.tpl
This template controls the layout of the outside/tour news page articles.
page_top.tpl
This template controls the wrapper file for the top of the page including the HTML header elements.
pg_tour.tpl
This template controls page link behavior. This template should not be edited.
sitelink.tpl
This template controls the site link for listing the name of the All Access Network sub-site an update belongs to. This template is only used by sites with the All Access Network Setup.
toplist.tpl
This template controls the layout of the most popular updates table.
toplist_item.tpl
This template controls the layout of the most popular update item including the title, thumbnail and link to the episode.
topnav.tpl
This template controls the top navigation bar of text links.
votefrm.tpl
This template controls the layout of the wrapper for the vote/rating stars.
votefrm_sub.tpl
This template controls the layout of the vote/rating stars.