ShoppePro HOME | Forums | Terms of Service | Policies
Live Help TRY DEMO
 
Shoppe Pro Hosting Community Forums
Pages: [1]   Go Down
  Send this topic    Print  
Author Topic: Shoppe Pro Include Codes  (Read 2921 times)
0 Members and 1 Guest are viewing this topic.
Karina
Owner/Mom
Administrator
Hero Member
*****

Karma: +3/-0
Offline Offline

Posts: 2153





<>< Geek


View Profile WWW
« on: March 18, 2008, 12:24:19 AM »

Include codes are basically placeholders for your website template.  They tell the system what should go where.  If you are planning on designing your own template, you will need to insert these include codes in the appropriate places within your layout, to tell the system where each component should go. 

If you will be copying and pasting the code for your custom template into the "Custom Template" area within the store admin area, then use the include code that begins and ends with a %.  If you prefer to upload your template to the /templates/ directory, you will need to name your template file with an extension of .htm (not .html), and you will need to use the php code version of the include code within your layout.  A description of the code is located below.

%CATEGORY_BAR%
<?php include("$Home_Path/$Inc_Dir/navbar_bar.php"); ?>
Displays the categories in a colored, "light-up" bar horizontally displayed on the page. Category images are not shown.

%CATEGORY_DESCRIPTION%
<?php include("$Home_Path/$Inc_Dir/description.php"); ?>
Shows the description of the category for the catalog, if one exists. For pages other than the catalog page, nothing appears.

%CATEGORY_DROPDOWN%
<?php include("$Home_Path/$Inc_Dir/categories.php"); ?>
Shows a drop-down select box with all the category names listed within, to be used to search by category.

%CATEGORY_HORIZONTAL%
<?php include("$Home_Path/$Inc_Dir/navbar_horizontal.php"); ?>
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.

%CATEGORY_NAVIGATION%
<?php include("$Home_Path/$Inc_Dir/navbar_list.php"); ?>
On the catalog page, this displays catalog categories in the format Catalog > Category > SubCategory, with no images

%CATEGORY_TABLE%
<?php include("$Home_Path/$Inc_Dir/navbar_table.php"); ?>
Creates an automated vertical "button" list of all active categories in the system, in a table format. Category images are not shown.

%CATEGORY_TABS%
<?php include("$Home_Path/$Inc_Dir/navbar_tabs.php"); ?>
Creates an automated horizontal list of tabs showing all active categories in the system. Category images are not shown.

%CATEGORY_VERTICAL%
<?php include("$Home_Path/$Inc_Dir/navbar_vertical.php"); ?>
Shows a list of all categories vertically in the catalog, using the format specified in the "Settings" in this administration area.

%CONTENT%
<?php include("$Home_Path/$Inc_Dir/content.php"); ?>
Shows the main content of the site - the content added to the "Pages" area and the product display for the catalog.

%COPYRIGHT%
<?php include("$Home_Path/$Inc_Dir/copyright.php"); ?>
Shows a copyright notice with your site name and the current year.

%COUPONS%
<?php include("$Home_Path/$Inc_Dir/coupon.php"); ?>
Displays a text box that customers can use to enter a coupon code into the system to obtain a discount. For use only with the coupon system.

%EMAIL_FRIEND%
<?php include("$Home_Path/$Inc_Dir/email.php"); ?>
Shows an "Email a friend" link on all pages, which allows your visitors to send the page to others.

%FEATURED_COLUMN%
<?php include("$Home_Path/$Inc_Dir/featured.php"); ?>
Shows a vertical column of three featured items with images (usually added to a side bar).

%ITEMNUM_DROPDOWN%
<?php include("$Home_Path/$Inc_Dir/catnum.php"); ?>
Shows a drop down select box with all the item numbers listed within, to be used to search by item number.

%LOGO%
<?php include("$Home_Path/$Inc_Dir/logo.php"); ?>
Displays the uploaded logo, if one exists, on your page.

%META_TAGS%
<?php include("$Home_Path/$Inc_Dir/meta.php"); ?>
Shows the dynamic meta descriptions and keywords of the page. Should be placed inside the <header></header> tag.

%NAVIGATION_HORIZONTAL%
<?php include("$Home_Path/$Inc_Dir/pagenav_horizontal.php"); ?>
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%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagenav_horizontal.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%NAVIGATION_VERTICAL%
<?php include("$Home_Path/$Inc_Dir/pagenav_vertical.php"); ?>
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%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagenav_vertical.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PAGES_BAR%
<?php include("$Home_Path/$Inc_Dir/pagelist_bar.php"); ?>
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%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagelist_bar.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PAGES_HORIZONTAL%
<?php include("$Home_Path/$Inc_Dir/pagelist_horizontal.php"); ?>
Creates an automated horizontal list of all active pages in the system.

    For page ordering, use
    %PAGES_HORIZONTAL_X%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagelist_horizontal.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PAGES_TABLE%
<?php include("$Home_Path/$Inc_Dir/pagelist_table.php"); ?>
Creates an automated vertical "button" list of all active pages in the system, in a table format. Page images are not shown.

    For page ordering, use
    %PAGES_TABLE_X%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagelist_table.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PAGES_TABS%
<?php include("$Home_Path/$Inc_Dir/pagelist_tabs.php"); ?>
Creates an automated horizontal list of tabs showing all active pages in the system.

    For page ordering, use
    %PAGES_TABS_X%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagelist_tabs.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PAGE_TITLE%
<?php include("$Home_Path/$Inc_Dir/title.php"); ?>
Shows the title of the page (ie. "Home Page", "Catalog", "Links", etc.) or the header image.

%PAGES_VERTICAL%
<?php include("$Home_Path/$Inc_Dir/pagelist_vertical.php"); ?>
Creates an automated vertical list of all active pages in the system.

    For page ordering, use
    %PAGES_VERTICAL_X%
    <?php $pggrp=X; include("$Home_Path/$Inc_Dir/pagelist_vertical.php"); $pggrp=""; ?>
    where X is the group number (1-5) to display.

%PRICE_DROPDOWN%
<?php include("$Home_Path/$Inc_Dir/price.php"); ?>
Shows a drop-down select box with your price ranges listed within, to be used to search by price.

%SEARCH_CATALOG%
<?php include("$Home_Path/$Inc_Dir/search_catalog.php"); ?>
Displays a keyword search box which customers can use to search for products in your catalog by keyword.

%SEARCH_SITE%
<?php include("$Home_Path/$Inc_Dir/search_site.php"); ?>
Displays a keyword search box which customers can use to locate pages on your site (including FAQs or articles), categories, or products by keyword.

%SITE_LOGO%
<?php include("$Home_Path/$Inc_Dir/sitelogo.php"); ?>
Displays the uploaded logo, if one exists. If a logo does not exist, displays the site name.

%SITE_MESSAGE%
<?php include("$Home_Path/$Inc_Dir/sitemessage.php"); ?>
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.

%SITE_NAME%
<?php include("$Home_Path/$Inc_Dir/sitename.php"); ?>
Displays the name of your web site in a header tag on your page.

%STYLE_SHEET%
<?php include("$Home_Path/$Inc_Dir/style.php"); ?>
Sets the fonts and colors for the catalog. Should be placed inside the <head></head> tag. Use the existing style sheet as a guide when creating classes.

%TITLE_TAG%
<?php include("$Home_Path/$Inc_Dir/metatitle.php"); ?>
Displays the category or product if selected, for use with search engines. Should be placed inside the <title></title> tag.

%VIEW_CART%
<?php include("$Home_Path/$Inc_Dir/viewcontents.php"); ?>
Displays a "View Cart" link only.

%VIEW_CONTENT%
<?php include("$Home_Path/$Inc_Dir/viewcart.php"); ?>
Displays a "View Cart" link, along with the quantity and total ordered.
« Last Edit: May 01, 2008, 02:21:13 PM by Karina » Logged

nurstottiecovers
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14





View Profile Email
« Reply #1 on: June 16, 2008, 02:02:22 PM »

Karina, I past my custom html and I just don't understand were does the code goes.

Could you help me please. I been looking and reading trying to find out how for couple of hours now.

thanks
janie

www.nurstottiecovers.com
Logged
Karina
Owner/Mom
Administrator
Hero Member
*****

Karma: +3/-0
Offline Offline

Posts: 2153





<>< Geek


View Profile WWW
« Reply #2 on: June 16, 2008, 03:20:15 PM »

Janie,

I had a look at your custom template and there were some problems with it.  Among other things, there are no head tags, no include codes, some invalid code, and some of your image sources are from places that don't exist....

Examples: 

Code:
<body background="<a href="http://www.nurstottiecovers.com/page.php webbuttons/800.jpg">
This isn't valid HTML.

Code:
<img border="0" src="webbuttons/nursweblogo1.jpg" width="720" height="200">

1)  This is a relative path, and 2) The path doesn't exist on your site... i.e. http://www.nurstottiecovers.com/webbuttons/nursweblogo1.jpg which would be the absolute path this relates to doesn't exist on your site.

Code:
<table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#875F33" width="100%"
cellpadding="20" id="AutoNumber1"
background="http://www.nurstottiecovers.com/page.php webbuttons/aquaborder.">
The background="http://www.nurstottiecovers.com/page.php webbuttons/aquaborder." tag isn't valid HTML. 
The path nursetottiecovers.com/page.php doesn't exist. 
The table id "AutoNumber1" doesn't have a style sheet to pull styling from.

Once you get the coding worked out, you would place the include codes in the appropriate places.  I.E., put %CATEGORY_VERTICAL% wherever you want your categories to appear.  I can PM you a sample template in zip format if you like. 
Logged

Pages: [1]   Go Up
  Send this topic    Print  

 
Jump to: