Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Newbie How to Call New Template?

Quote Reply
Newbie How to Call New Template?
Dear Forum:

I have searched the forum and couldn't find any info on how to properly call a new template. I have tried the following:

<a href="<%include contact.html%>" >

<a href="/cgi-bin/links/admin/templates/default/page.cgi?p=contact">

None of the above work. Please advise.



Thanks,

Terry
Quote Reply
Re: [tdoll] Newbie How to Call New Template? In reply to
What exactly are you tring to do?

Both those examples are hyperlinks. Are you wanting to use a hyperlink or include something into a page?
Quote Reply
Re: [RedRum] Newbie How to Call New Template? In reply to
I am trying to link a Link SQL template to a new template I created.
Quote Reply
Re: [tdoll] Newbie How to Call New Template? In reply to
Hi,

If the link is within an existing template you would do:

<a href="<%db_cgi_url%>/page.cgi?p=custom&d=1">My Custom Link</a>

which would load and display custom.html. If the link is from somewhere else, same thing just skip the db_cgi_url part.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Newbie How to Call New Template? In reply to
Thank you! It works great!