|
INCLUDE TYPES AND USES: Includes in the following format are used when making edits to your template via the template editor in storeadmin %INCLUDE% Includes with the following format are the includes to use in your template : <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/include.php");</script> The bolded ones are required in templates so you have the ability to take advantage of ALL features offered in the MM system The codes you can use are as follows: %TITLE_TAG% one of the following ( or both ) for a link to your cart. %VIEW_CART% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/viewcart.php");</script> Displays a "View Cart" link only. %VIEW_CONTENT% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/viewcontents.php");</script> Displays a "View Cart" link, along with the quantity and total ordered. %SITE_MESSAGE% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/sitemessage.php");</script> Displays whatever you have entered in the "Site Message" field (in the variables area of the administration section). The text appears on every page, and is often used to easily update sale messages or note specials site-wide. %PAGE_TITLE% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/title.php");</script> Shows the title of the page (ie. "Home Page", "Catalog", "Links", etc.) or the header image. %CATEGORY_NAVIGATION% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_list.php");</script> On the catalog page, this displays catalog categories in the format Catalog > Category > SubCategory, with no images %CATEGORY_DESCRIPTION% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/description.php");</script> Shows the description of the category for the catalog, if one exists. For pages other than the catalog page, nothing appears. %CONTENT% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/content.php");</script> Shows the main content of the site - the content added to the "Pages" area and the product display for the catalog. %COPYRIGHT% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/copyright.php");</script> Shows a copyright notice with your site name and the current year. %EMAIL_FRIEND% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/email.php");</script> Shows an "Email a friend" link on all pages, which allows your visitors to send the page to others. And at least one of the following forms of navigation: #1 %CATEGORY_HORIZONTAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_horizontal.php");</script> Shows a list of all categories horizontally in the catalog, using the format specified in the "Settings" in this administration area. Note: the horizontal category list is already included in the %NAVIGATION_HORIZONTAL% include. Must be used with pagelist_horizontal ( %PAGES_HORIZONTAL%) include %PAGES_HORIZONTAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_horizontal.php");</script> Creates an automated horizontal list of all active pages in the system. For page grouping, use %PAGES_HORIZONTAL_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_horizontal.php");$pggrp = "";</script> where X is the group number (1-5) to display. #2 %CATEGORY_TABLE% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_table.php");</script> Creates an automated vertical "button" list of all active categories in the system, in a table format. Category images are not shown. Must be used with pagelist_table ( include %PAGES_TABLE%) %PAGES_TABLE% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_table.php");</script> Creates an automated vertical "button" list of all active pages in the system, in a table format. Page images are not shown. For page grouping, use %PAGES_TABLE_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_table.php");$pggrp = "";</script> where X is the group number (1-5) to display. #3 %CATEGORY_VERTICAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_vertical.php");</script> Shows a list of all categories vertically in the catalog, using the format specified in the "Settings" in this administration area. Must be used with pagelist_vertical ( include %PAGES_VERTICAL%) %PAGES_VERTICAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_vertical.php");</script> Creates an automated vertical list of all active pages in the system. For page grouping, use %PAGES_VERTICAL_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_vertical.php");$pggrp = "";</script> where X is the group number (1-5) to display. #4 %CATEGORY_TABS% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_tabs.php");</script> Creates an automated horizontal list of tabs showing all active categories in the system. Category images are not shown. Must be used with pagelist_tabs ( include %PAGES_TABS%) %PAGES_TABS% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_tabs.php");</script> Creates an automated horizontal list of tabs showing all active pages in the system. For page ordering, use %PAGES_TABS_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_tabs.php");$pggrp = "";</script> where X is the group number (1-5) to display. #5 %CATEGORY_BAR% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/navbar_bar.php");</script> Displays the categories in a colored, "light-up" bar horizontally displayed on the page. Category images are not shown. Must be used with pagelist_bar ( include %PAGES_BAR%) %PAGES_BAR% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_bar.php");</script> Displays the active pages in the system in a colored, "light-up bar" horizontally displayed on the page. Page images are not shown. For page ordering, use %NAVIGATION_HORIZONTAL_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_bar.php");$pggrp = "";</script> where X is the group number (1-5) to display. These will show all active pages AND a link to the catalog page %NAVIGATION_VERTICAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagenav_vertical.php");</script> Shows an automated vertical list of all active pages in the system. Under the "Catalog" page, a vertical list of active categories are shown, using the format specified in the "Settings" in this administration area. For page ordering, use %NAVIGATION_VERTICAL_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagenav_vertical.php");$pggrp = "";</script> where X is the group number (1-5) to display. %NAVIGATION_HORIZONTAL% <script language="php">include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagenav_horizontal.php");</script> Shows an automated horizontal list of all active pages in the system. After the "Catalog" page, a horizontal list of active categories are shown. For page ordering, use %NAVIGATION_HORIZONTAL_X% <script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagenav_horizontal.php");$pggrp = "";</script> where X is the group number (1-5) to display.
%SITE_LOGO% %SEARCH_SITE% %FEATURED_COLUMN%
|
||||||||||||||||||

