ShowPage

Displays an HTML text file after substituting [xxx] tags for their real values.

To display an HTML file, send WebCatalog a ShowPage command with the name of the template file you want to display. Whenever WebCatalog receives a ShowPage command, it immediately opens the specified file, looks for and interprets any [xxx] tags, and displays the results to the visiting web browser.

If you have defined an ACTION that tells your web server to send all files of a certain extension (.tpl, .HTML) to WebCatalog, then simply linking to a URL with that file extension will automatically tell WebCatalog to perform a ShowPage on that template.

Security Note: Files inside your cgi-bin (or Scripts) directory cannot be displayed from a remote browser unless you explicitly create an extension mapping that tells WebCatalog to process them. This prevents outsiders from downloading order files or shopping cart files that contain sensitive information.

Security Note: Files whose type is 'WWWO' (where the O is the Macintosh character option-Z) will not be displayed. These files are considered to contain sensitive information that should never be shown to an outside user. WebCatalog automatically creates files with this type in order to prevent hackers from downloading your sensitive data.

Example (normally you would link to a URL or form containing the following information):

http://yourserver.com/xx.tpl?command=ShowPage

Try It!

Here are some other ways to send the same command:
HTML Source Description
<a href="xx.tpl">
Hyperlink to WebCatalog (notice that when suffix-mapping for .tpl files is set to WebCatalog's plugin, WebCatalog assumes all .tpl files should be displayed with the ShowPage command). You can set suffix-mapping for .html, and then all files will be sent through WebCatalog's interpreter.
<form method="POST" action="xx.tpl">
</form>
Form-based command
(notice the template is part of the action, and ShowPage is automatic)