Disabling close buttons

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
bgj
Observer
Observer
Posts: 4
Joined: Wed Dec 15, 2004 11:19 am
Location: Bedford, Texas

Disabling close buttons

Post by bgj »

We are using PWB on our OPACs and have it set up so that users cannot close it down (we are using DisableCloseButton=True). However, some pages (for instance, Syndetics windows) have their own close button. If a user clicks this close button they get a dialog box that says "The web page you are viewing is trying to close the window. Do you want to close the window?" If the user says Yes then it closes down PWB, which is not what we want. Is there some way to disable these types of close buttons? Thanks.

Scott
Site Admin
Site Admin
Posts: 2535
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Set the following setting in the INI file to prevent PWB from closing.

[Browser]
...
DisableExit=True
...

You may also want to take a look at [Security] Restart on Close. This setting will restart PWB when it is closed. If you allow your patrons to close PWB with Clear Cache on Close set to true, each patron will receive a "new" browser each time PWB is closed.

--Scott

bgj
Observer
Observer
Posts: 4
Joined: Wed Dec 15, 2004 11:19 am
Location: Bedford, Texas

Re: Disabling close buttons

Post by bgj »

The DisableExit=True setting is exactly what I needed. Thanks - bgj

Post Reply