Version 4.0 PHP Template Reference Print

  • 0

Version 4.0: PHP Template Reference

IMPORTANT VERSION NOTICE: This template reference is for CMS version 4.0 only – Other versions have different templates and template names than those listed here.

Developers - Please download our PHP Reference Doc for a more technical breakdown of how to edit smarty code:

https://support.elevatedx.com/index.php?/Knowledgebase/Article/View/255/0/templating-elevated-x-using-the-php-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 back up your template folder locally before making any changes. We do not have backup copies of your design or templates.

PHP 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/phptemplates/ folder. You will have 1 folder of templates for each of your sites.

 

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
./blog.tpl
./bonus.tpl
./calendar.tpl
./category.tpl
./category_outside.tpl
./dvds.tpl
./error.tpl
./faq.tpl
./favorites.tpl
./footer.tpl
./gallery.tpl
./gallery_outside.tpl
./header.tpl
./index.tpl
./index_outside.tpl
./join.tpl
./mailbox.tpl
./model_bio.tpl
./models.tpl
./news.tpl
./news_outside.tpl
./offers.tpl
./search.tpl
./sets.tpl
./sets_outside.tpl
./settings.xml
./sitemap.tpl
./tour.tpl
./trailer_outside.tpl

 


Sub Templates


./dvds/dvd_listings.tpl
./dvds/dvd_preview.tpl
./dvds/scene.tpl
./functions/standard.tpl
./gallery/content_tabs.tpl
./gallery/movie_player.tpl
./gallery/photo_viewer.tpl
./gallery/suggest_tags.tpl
./gallery/video_clip_link.tpl
./globals/URL_close.tpl
./globals/comments.tpl
./globals/dvd.tpl
./globals/dvd_list.tpl
./globals/globals.tpl
./globals/ie_warning.tpl
./globals/model.tpl
./globals/model_list.tpl
./globals/network_sites_dropdown.tpl
./globals/pagenav.tpl
./globals/photo_movie_counts.tpl
./globals/showthumb.tpl
./globals/sitelink.tpl
./globals/social_headers.tpl
./globals/sort_options.tpl
./globals/stddvdimage.tpl
./globals/stdmodelimage.tpl
./globals/tag_list.tpl
./globals/tour_globals.tpl
./globals/tour_tag_list.tpl
./globals/video_clip.tpl
./globals/votefrm.tpl
./mailbox/new_message.tpl
./mailbox/read_message.tpl
./mailbox/view_mailbox.tpl
./template_sections/banner.tpl
./template_sections/category.tpl
./template_sections/coming_soon.tpl
./template_sections/coming_soon_update_table.tpl
./template_sections/counts.tpl
./template_sections/dvd_a-zlinks.tpl
./template_sections/facebook.tpl
./template_sections/favorites_link.tpl
./template_sections/languagebar.tpl
./template_sections/mailing_list_form.tpl
./template_sections/model_a-zlinks.tpl
./template_sections/models_page_listing.tpl
./template_sections/most_popular_dvds_toplist.tpl
./template_sections/most_popular_models_toplist.tpl
./template_sections/most_popular_toplist.tpl
./template_sections/most_viewed_toplist.tpl
./template_sections/news_small.tpl
./template_sections/poll.tpl
./template_sections/rightcolumn.tpl
./template_sections/searchbar.tpl
./template_sections/twitter.tpl
./template_sections/update_table.tpl
./template_sections/whats_hot.tpl
./tour/footer.tpl
./tour/globals/globals.tpl
./tour/header.tpl
./tour/join.tpl
./tour/join_header.tpl
./tour/model_bio.tpl
./tour/models.tpl
./tour/splash.tpl
./tour/splashcss.tpl
./tour/template_sections/episode_undertext.tpl
./tour/template_sections/join_page_footer_updates.tpl
./tour/template_sections/join_update.tpl
./tour/template_sections/models_page_listing.tpl
./tour/template_sections/more_updates.tpl
./tour/template_sections/most_popular_models.tpl
./tour/template_sections/most_popular_updates.tpl
./tour/template_sections/upcoming_updates.tpl
./tour/template_sections/update_table_preview.tpl

 

 



Was this answer helpful?

« Back

This site uses cookies to personalize content and to analyze traffic. You consent to our cookies if you continue to use our website. Read our Privacy Policy to learn more. Please Agree or Exit