Gossamer Forum
Home : Products : DBMan : Customization :

Multiple HTML.pl ??

Quote Reply
Multiple HTML.pl ??
Is it possible to use dbman with multiple html.pl files so that I can specify the look within the call to the database? If I use:

http://www.outermost.net/cgi-bin/db/db.cgi?db=default&uid=default&view_records=1&ID=1

to get record number one, is there a way to specify let's say another html.pl such as:

http://www.outermost.net/cgi-bin/db/db.cgi?db=default&uid=default&view_records=1&ID=1&template=html2.pl

Or soemthing like this?

Thanks much,
Blake Kunisch
blake@outermost.net
Quote Reply
Re: Multiple HTML.pl ?? In reply to
>Is it possible to use dbman with multiple html.pl files so that I can specify the look within the call to the database?

sure.

creatw a new .cfg-file (i.e. new.cfg)
in this .cfg-file point to the new html.pl

call the script:
domain.de/cgi-bin/db.cgi?db=new

regards,
HP
Quote Reply
Re: Multiple HTML.pl ?? In reply to
Thanks hanspeter, worked like a charm.

See both layouts if you want:
http://www.outermost.net/...w_records=1&ID=1

http://www.outermost.net/...w_records=1&ID=1

Thanks again.
-Blake Kunisch
http://www.outermost.net