Gossamer Forum
Home : Products : Gossamer Links : Discussions :

templates, and addtional pages

Quote Reply
templates, and addtional pages
I am sure there are many threads covering adding addtional dynamic pages to your templates. Could someone point me in the right direction for some good information on how to do this?
-Thanks
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
It is very easy :-)
Create a new template - say newpage.html
Then to show this template just use
http://www.yourdomain.com/...n/page.cgi?p=newpage

If you want to show link specific data on this page you can add &ID=1 for Link 1 or &ID=<%ID%> for use on a page where you have the linkID tag. So for example, if you wanted to create an extra detailed page, you could add a link from the first detailed page like this:

http://www.yourdomain.com/...page&ID=<%ID%>

If you want the pages to appear as static pages, you can do this with a rewrite rule.
Quote Reply
Re: [afinlr] templates, and addtional pages In reply to
will these pages be searchable?
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
No. Only content in databases is searchable. You could add the content to the links database (maybe have a links type field to distinguish between pages and other links?) or you could add a new table (but this is much more complicated as you will need to write the search script or plugin).
Quote Reply
Re: [afinlr] templates, and addtional pages In reply to
Thanks for all the help so far, one more question, is there a good plugin that spiders all my pages for search. I have heard of some but do they work well?
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
I got this error when I tried to do this

Invalid SiteHTML method: site_html_test (test.html). The template does not exist in 'luna'.

I made the test.html in another template set called seating. How wou;d I call that to bring the page up?

-thanks in advance
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
If you want to show a template in a set that is not the default set, you need to add t=templatename to the end of the url.

http://www.yourdomain.com/...p=test&t=seating

Any reason why you have created it in a new set?
Quote Reply
Re: [afinlr] templates, and addtional pages In reply to
I created a new set because I have 4 products each with a different template set for look and feel
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
Ok I got that to work nowI need to get my headers and footers over when I copy them now I get the error Unknown Tag: 'Fabric_Yards'
Quote Reply
Re: [tkporcel] templates, and addtional pages In reply to
I think that you'll need to inherit from the default template set if that is where the tags are. This post
http://www.gossamer-threads.com/...i?post=277218#277218
has details about how to set this up.

Last edited by:

afinlr: Mar 21, 2006, 5:22 AM
Quote Reply
Re: [afinlr] templates, and addtional pages In reply to
thanks for the help