Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to generate Dynamic detail page?

Quote Reply
How to generate Dynamic detail page?
Hi all,

Is there any method to generate Dynamic detail page besides useing the detail page plugin? Can I use page.cgi to generate Dynamic detail page?

Any helps are welcome.
Quote Reply
Re: [maxbear] How to generate Dynamic detail page? In reply to
Try something like:

http://www.wiredon.net/cgi-bin/lsql/page.cgi?g=Detailed/1.html&d=1
Quote Reply
Re: [Paul] How to generate Dynamic detail page? In reply to
Thanks Paul.

But the problem is I need to enable build detail in the setup. I have over 100000 links, it's impossible to build 100000 details page in a directory. Is there any other way to solve the problem?
Quote Reply
Re: [maxbear] How to generate Dynamic detail page? In reply to
Oh you mean you want to dynamically build detail pages?

Hmm why do you not want to use the plugin?...its probably the best/quickest method.
Quote Reply
Re: [Paul] How to generate Dynamic detail page? In reply to
Hi Paul,

Yes, I want to build detail page dynamically

I installed the plugin but when I try to access the detail page, i got the following error:

A fatal error has occured:

Can't call method "table" on an undefined value at /home/....../detail_page.cgi line 33.

Please enable debugging in setup for more details.

I am using LinksSQL 2.1, do you know what's the problem?

Max
Quote Reply
Re: [maxbear] How to generate Dynamic detail page? In reply to
Try adding:

Links::init('/path/to/admin');

.....just below:

use Links qw/... /;

...in the cgi script.
Quote Reply
Re: [Paul] How to generate Dynamic detail page? In reply to
Thanks Paul, it works! Paul Rock!!!