Gossamer Forum
Home : Products : DBMan : Customization :

Allow guests to access html_view_success from link

Quote Reply
Allow guests to access html_view_success from link
My client is using the database to show off her products that she is selling. How can I give a link so that it will open automatically to the database?

She has different categories so I was going to do this"

http://www.myserver.com/...;mh=10&so=ascend

but when I enter that it goes to the log in screen. Can I bypass this screen?
Quote Reply
Re: [joshuagill] Allow guests to access html_view_success from link In reply to
In the .cfg file, set

$auth_allow_default = 1;

and

@auth_default_permissions = (1,0,0,0,0);


Then set up your link as

http://www.myserver.com/...&Category=silver

You don't have to set the "mh" or "so" because they are already set by default. I think you can get by without "db=default" too. You do have to have "view_records=1" and your search criteria.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Allow guests to access html_view_success from link In reply to
JPDeni --

I can't get that to work. Is there something else I can do?

I have attached my .cfg file.

Last edited by:

joshuagill: Jan 7, 2007, 6:27 PM
Quote Reply
Re: [joshuagill] Allow guests to access html_view_success from link In reply to
Okay. It's been a really long time since I've done any of this, so I forgot. Here's what you need to do.

http://www.essentialpiecejewelry.com/cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1

and then add your search term like

&Item=*

which will give you all of the items or add whatever other search term you want.

Sorry 'bout that.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.