Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Multiple Detail

Quote Reply
Multiple Detail
Hi:

As you probably know, I have a weird site. I have mutiple detail pages (in 2.X)- basically, an overview detail, and a couple, more specialized detail pages. To make it work in 2.X, I just hacked page.cgi and added a new variable to the URL to direct to the appropriate Detail page.

Now I am not wanting to hack the new version (3.0), I thought I would ask for some advice on how to do this now... Any suggestions??

Thanks!
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Multiple Detail In reply to
I am working on a site that would benefit from this ability as well. I was just pondering this very thing. But I have no idea how to do it, so will be eager to hear thoughts as well!
Quote Reply
Re: [carfac] Multiple Detail In reply to
It shouldn't be too hard, just use different templates.

Is some of the different data generated by different scripts? Or is it all part of the Links/Category tables?

There are quite a few different ways to go about this, depending on how fancy or clever you want to get. Also, on how much data is involved (eg: can it all be fetched at one time, or does it need to be fetched page-by-page.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Multiple Detail In reply to
Hi pugdog!

Ithought about different templates, but I am not sure how to call them. For me, all pages would have info specific to the Detail page... specifically, the "crumb", but also various fields that are specific to ONE entry. What I did before was mod page.cgi so that within anything that is "Detailed", if "p=s" you got the synopsis page detail; if p="c" you got the Crew page detail.

Example: Lion King.

Main: http://www.bcdb.com/...on=The%20Lion%20King

(note: cartoon.cgi is what I renamed page.cgi) Simple enought. Here is the Crew Detail:

http://www.bcdb.com/...n.cgi?film=3&p=c

My mods to page.cgi pick up the "p=c" and redirect to a different detail.html page in this case, I call it "det_crew.html"

Here is the basic detail path for v3 (note I am still working on CSS, so it may look ugly, or be broken!)

http://66.219.198.216/...p;cartoon=The%20Tune

"Detailed" is called by the "g=". Now I could change this to "g=Det_Crew/23360.html" in the link, but w/o some mods to page.cgi, it will break.

So, is it plug-in time- is that the answer?
dave

Big Cartoon DataBase
Big Comic Book DataBase