Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Display html page through template system...

Quote Reply
Display html page through template system...
How do you display an external html page through the cgi file so that you can use template commands. For example, I have created a search help file (searchhelp.html), and I have formatted it with the header, footer, and other template commands. I now need to call it from a cgi (page.cgi?) to display properly...

Sean
Quote Reply
Re: [SeanP] Display html page through template system... In reply to
..../page.cgi?p=name_of_page&t=template_set

add the t= option if you want it to use a different template set, or a specific template no matter where it's called from. If you are using a "static" site, you might also want to add &d=0 to force non-dynamic linking just in case. If you are using a dynamic site, you should add &d=1 so that your links are translated dynamically.






PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Display html page through template system... In reply to
Works great. Thanks!

Sean