CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 4 Documentation - Global Templates

Google Translate:

Global Templates

Page Contents

  1. index.tpl
  2. cart.tpl

index.tpl

The template (skin) file is located here:

skins/YOUR_SKIN/styleTemplates/global/index.tpl

The template display the HTML required for the page to display in a browser, however the content is controlled by an equivalent PHP file in order to display the correct information. The control (core PHP) files are located here:

/includes/global/index.php


Within the template, there are a selection of placeholders which are filled by additional templates from the 'content' and 'boxes' directories.

Global Template
Place Holder
Template Name/Location Details  
{SEARCH_FORM} boxes/searchForm.tpl The search box. more
{SESSION} boxes/session.tpl The login/logout/accounts box area. more
{CATEGORIES} boxes/categories.tpl The categories menu. more
{RANDOM_PROD} boxes/randomProd.tpl The featured products box. more
{INFORMATION} boxes/info.tpl Store information, which includes the number of categories and products in the store. more
{CURRENCY} boxes/currency.tpl The currency dropdown menu. more
{LANGUAGE} boxes/language.tpl The currency dropdown menu. more
{SHOPPING_CART} boxes/shoppingCart.tpl The shopping cart contents box. more
{POPULAR_PRODUCTS} boxes/popularProducts.tpl The popular products box. more
{SALE_ITEMS} boxes/saleItems.tpl The sales items box. more
{MAIL_LIST} boxes/mailList.tpl The mailing list box. more
{SITE_DOCS} boxes/siteDocs.tpl The site documents. more
{SKIN} boxes/skin.tpl The customer skin changer. more
{CONTENT} content/ For more information on the templates used in in the content area, browse to the Content Templates page. more
{VAL_SKIN} n/a Used to output the current skin name, so files and images can be referenced within the skin directories. Ie, the 'YOUR_SKIN' text used in the path example. n/a

cart.tpl

The template (skin) file is located here:

skins/YOUR_SKIN/styleTemplates/global/cart.tpl

The template display the HTML required for the page to display in a browser, however the content is controlled by an equivalent PHP file in order to display the correct information. The control (core PHP) files are located here:

includes/global/cart.php


Within the template, there are a selection of placeholders which are filled by additional templates from the 'content' and 'boxes' directories.

Global Template
Place Holder
Template Name/Location Details  
{SEARCH_FORM} boxes/searchForm.tpl The search box. more
{SESSION} boxes/session.tpl The login/logout/accounts box area. more
{CART_NAVI} boxes/cartNavi.tpl The cart 'Useful Links' menu. more
{SITE_DOCS} boxes/siteDocs.tpl The site documents. more
{CONTENT} content/ For more information on the templates used in in the content area, browse to the Content Templates page. more
{VAL_SKIN} n/a Used to output the current skin name, so files and images can be referenced within the skin directories. Ie, the 'YOUR_SKIN' text used in the path example. n/a




Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.