ShowPage
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.
Example (normally you would link to a URL or form containing the following information):
Try It!
Here are some other ways to send the same command:
| HTML Source | Description |
|---|---|
|
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. |
|
|