 |

Table of Contents
License Agreement
Program Credits
|
 |
 |
 |

Software Manual
|
HTML Pages (User & System)
Please refer to the manual section titled 'HTML Elements & The Site Layout' for in-depth information on how to edit elements. Elements are a main part of HTML pages. Each of the functions described is accessible under the HTML Pages & Elements function.
Manage HTML Pages (User)
User HTML pages can be added/edited/deleted using this function. Reasons for creating an HTML page using this software rather than running your own static HTML include: you can get realtime statistics on page views and traffic if logging is enabled; you can make use of the HTML Site Layout and any on the fly changes made to it; you can easilly edit the pages using the Administrator utility. Information on linking to pages is presented below.
Manage HTML Pages (System)
System HTML pages can be edited, but not added or deleted, using this function. All of the pages required by the program to operate, including online store pages, shopping cart, checkout, etc. are included in this listing. Information on linking to pages is presented below.
Linking to HTML Pages
Every HTML page has the following attributes:
Reference Name
The reference name is what you will use to call the page within URLs. This name will be attached to a variable 'pg' in URLs to tell the script which page you would like to access. Presented below is an example of a link from another script generated HTML page, or element, to a user defined HTML page:
<A HREF="(CGIVAR)common_url(/CGIVAR)&pg=xxx">XXX</A>
The same page can be accessed from outside the script using a URL similar to:
<A HREF="/ccp51/cgi-bin/cp-app.cgi?pg=xxx">XXX</A>
HTML Page Name
The HTML page name is the name that is displayed to you from within the Administrator Utility for page statistics and when managing HTML pages.
Page Content
The page content field allows you to enter HTML for the HTML page you're inserting or updating. Any HTML tags, including form tags, can be used. Additionally, script specific element tags, like CGIGET and CGIVAR, can be used.
For information on HTML, and how to write HTML code, there are a number of excellent books on the topic.
Title Image Name & Use Title Image
These two items allow you to specify a title image name and toggle whether to display that image. The image name should be the filename of the image, not a full URL. Title images are stored in the /ccp51/media/images/titles directory.
Displaying Images
To display an image from within a script generated HTML page, you should use a CGIVAR tag with the 'images_path' variable embedded in it. This will ensure that the proper URL to the image is used when displaying images over secure and non-secure servers. An example of how to display an image is presented below:
<IMG SRC="(CGIVAR)images_path(/CGIVAR)/site/xxx.gif">
Within any image tag you can use HEIGHT, WIDTH, BORDER and ALT attributes as you would with regular HTML. Notice in this example we're calling an image in the './media/images/site' directory. The only difference here is the use of the CGIVAR tag to replace the URL to the image.
|
 |