Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Seperate Directory page

Quote Reply
Seperate Directory page
I have searched and I cannot find specific enough reference to my question.

If there is a post to this effect, my apologies and please direct me to it...

Anyway my inquiry is as follows.
I would like to create a seperate "Directory" page that is exactly as the typical home.html page, but I want it to be called something different. such as directory.html My "home.html" page will NOT show the directory (category) listing, but will have a link to it.
I have attempted what would seem correct, that is making a copy of the original, home.html and naming it directory.html and having links build it, and then calling it via /directory.html or even page.cgi?p=directory neither works completely. The page shows up, but with Unknown tag errors... only for category and grand_total tags.. Do I need some elaborate mod or am I missing something simple...

You can view my current result at:
http://www.torpedo.com/ and click on the directory tab which will bring you to:
http://www.torpedo.com/cgi-bin/links/page.cgi?p=directory

Thank you for any assistance.....

-Scott
Quote Reply
Re: [scottward] Seperate Directory page In reply to
Hi,

page.cgi?p=directory just displays the directory.html template, it does not make any special tags available. Do you want this to be the same as the home page? If so, you could add:

<%Links::Build::build ('home')%>

to the top of your template and it will make available all the tags you would have on your home page.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Seperate Directory page In reply to
Hmmm... That did something funny... It added the directory page (without proper variable translation) to the bottom of a copy of the home.html page...

Bizarre??

-Scott
Quote Reply
Re: [scottward] Seperate Directory page In reply to
Hi,

Oops, no my fault. That's what is should have done. Hmm, I'm not sure of an easy way to do what you want without going into the code and editing it directly.

Cheers,

Alex
--
Gossamer Threads Inc.