Application Systems Design, Development, Training, Support & Support Services
Ready-made Customizable Solutions
Solutions: Page Generators : Manufacture List: Install & Use
Manufacture List - Installation and Use
Describes installation and use of Manufacture List.
mds.cgi - Manufacture Directory (not found handling; see: mds.html)
pg.pl - Page Generators configuration and common logic modules (see: pg.html)
jhzcs.pl - JHZ-CS configuration and common logic modules (see: jhzcs.html)
IID (Item Information Dataset)
m.cgi (web interface component)
Support for Item Compare, Text Search and Banner Rotator System requires those components to be installed and configured according to their specifications. Inclusion of Special Template markup supporting those components must also be included within the templates supported by this product.
PACKING (PARTS) LIST
PRODUCT ID: ML
*AUTH - Authorization/permissions octal equilvalents where:
7=RWX, 6=RW, 5=RX, 4=R (R=Read W=Write X=Executable)
1 char indicates Octal number
2 char Owner
3 char Group
4 char All Others
It is recommended that you read the entire installation process steps prior to performing installation. Each solution has specific instructions.
- Download solution to desktop
- Expand installation package (use any standard archive application; such as WinZip®, StuffIt Expander® or TAR command)
- Set configuration settings
- Upload components to server
- Set file permissions
- Test installation
- Customize Templates as desired
- Test customizations
Modify Logic Components
Modify all logic components "*.cgi" and "*.pl" logic modules as follows:
- First line of code (#!) correctly points to the PERL executable binary on the server (use command "which perl" or consult your server administrator)
- All PERL "requires" statements contained in "*.cgi" and "*.pl" logic modules must use "absolute" directory paths (beginning with a forward slash "/")
Customize the Manufacture List template:
Any data item defined to the IID may be referenced. Variable name (column header name) wrapped in less than greater than pairs.
Two special keywords are supported for use of variable references within HTML anchor names, anchor references and CGI URL parameter values. Since the values returned these instances may contain space, use of these special keywords cause those spaces to be converted as required:
ANCHOR (spaces convert to underscores)
PARAM (spaces convert to %20)
<a href="#<<category%20ANCHOR>>"> <a name="<<category%20ANCHOR>>">
Special mark-up within Manufacture List Template must respect group order sequence to support nested repeating groups. Indentation illustrates nesting relationships:
<!-- Page Header End --> <!-- Categories List Header Start --> <!-- Categories List Header End --> <!-- Categories Repeat Line Start --> <!-- Categories Repeat Line End --> <!-- Categories List Footer Start --> <!-- Categories List Footer End --> <!-- Cat Group Start --> <!-- Cat Header Start --> <!-- Cat Header End --> <!-- Cat Entry Start --> <!-- Cat Entry End --> <!-- Cat Group End --> <!-- Page Footer Start -->
Uploading to Web Server
All dependent and required components must be successfully installed and configured. All components, with the exception of images, must be FTP uploaded as TEXT. Images must be FTP uploaded as BINARY.
Test the installation and configuration by invoking m.cgi from within a web browser by entering the URL to m.cgi with parameters using the syntax in the example in the USAGE section below. First test passing valid parameters, then test passing invalid parameters to assure installation and configuration is correct. It is recommended that you test each possible valid value upon initial installation, and perform function and regression testing each time a new valid value is added to the website configuration.
Add hyperlinks within static pages and dynamic page templates to point to m.cgi with the appropriate parameters to yield the desired result.
Following successful installation and satisfaction of dependencies and requirements, "m.cgi" should be invoked via the GET method passing a valid manufacture name value pair(s).
m.cgi (Search Manufacture Directory is invoked listing all manufactures) m.cgi?m=value (lists all items for the specified manufacture) m.cgi?m=value&c=value (lists items of the specified category for the specified manufacture)
"m=value" equals a valid manufacture name value
"c=value" equals a valid category name value
If no manufacture is specified, the Search Manufacture Directory is invoked with an informational message to select the desire manufacture.
If the specified manufacture is invalid, the Search Manufacture Directory is invoked with a Not Found error message and the error is logged and the webmaster notified.
JHZ-CS Solutions are offered exclusively under the terms and conditions of the JHZ-CS Software License Agreement.