Help with second instance problem

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
wl0ifr
Observer
Observer
Posts: 8
Joined: Fri Oct 08, 2004 5:57 am

Help with second instance problem

Post by wl0ifr »

Hi,

I'm setting up a new machine using the latest version (was previously using 2.08) and i've come across a problem.

On my original setup when a user clicked on a link what would normally open in a new window it would open in the parent window, now I am using 2.10 and I can't get this to work

I have tried enabling "OpenInParentWindow" and all this does is cause the browser to flash a new window up and close leaving me where I was.

Can anyone help?

This is the pwb.ini

Code: Select all

[AutoRegister]
RegisterKey=
RegisterPassword=
RegisterDaysLeft=30
RegisterSeconds=15
RegisterShowWindow=False
UseWindowsRegistry=False
RegisterDelayClose=False

[Browser]
RegisteredTo=*******removed********
RegistrationNumber=*******removed********
IniFileVersion=2.10
Title=Library Services Web Terminal
KioskMode=False
DesktopMode=False
HomePage=http://prism-01.sunderland.ac.uk/TalisPrism
CommandLineHomePage=False
SearchPage=
WebMailPage=
AddressBarText=Address:
DefaultFontSize=2
DefaultSendLink=True
StartMaximized=True
AlwaysOnTop=True
WindowHeight=
WindowWidth=
WindowTop=
WindowLeft=
ShowMenuBar=False
ShowToolBar=True
ShowShellBar=False
ShowAddressBar=True
ShowAnimation=False
ShowStatusBar=False
ShowTitleBar=True
ShowBackButtonMenu=True
ShowInactivityTimer=True
ShowActivityTimer=True
ShowStatusBarTime=True
ShowURLInBrowserCaption=True
DisableMinimizeButton=True
DisableMaximizeButton=True
DisableCloseButton=False
DisableMoveWindow=True
DisableResizeWindow=True
DisableNewWindow=False
DisableINIVersionCheck=False
DisableExit=False
ConfirmClose=False
UseIEFavorites=False
ShowGoButton=False
GoButtonText=Go
AlwaysOnBottom=False
DisableIESubClass=False
ShowWindowRelation=False
MainWindowIndicator=(Main)
ShowKioskBar=False
F1HelpPageURL=
ShowSplashScreen=False
DisableAutoComplete=False
ShellExecuteScripts=False
OpenLinksInNewWindow=False
DisableCtrlEnter=False
SaveWindowPosition=True
MinimizeMemoryUsage=False
StartTimersOnMouseKeyboard=False
AddStationToUserAgent=False
EnableAdvancedClose=False
UpdateWindowOnTime=False
RedrawWindowSeconds=
ConfigRegLocation=
DisableScrollBars=False
MapContextPrintToButton=False
PreventHTMLClosingMainWindow=False
AddressBarReadOnly=False

[SecondWindow]
AlwaysOnTop=False
LimitCount=1
DisableMinimizeButton=True
DisableMaximizeButton=True
DisableMoveWindow=True
DisableResizeWindow=True
DisableTitleBar=False
WindowHeight=
WindowWidth=
WindowTop=
WindowLeft=
NewPageAsHome=False
OpenInParentWindow=True
DisableUnrequested=False
StartOnDesktopMode=False
OpenDesktopModeLink=True
ShowTimers=False
ShellBarURLNewWindow=False
DisableCloseButton=False
ShowShellBar=False
StartMaximized=False
SecondWindowIndicator=(Secondary)
ShowAddressBar=True
ShowGoButton=True
ShowKioskBar=False
ShowToolBar=True
ShowMenuBar=True
ShowStatusBar=True
DisableShiftClick=False
OpenInFrame=

[ToolBars]
MenuBarGripper=True
ToolBarBreak=True
ToolBarGripper=True
ToolBarChevron=True
ShellBarBreak=False
ShellBarGripper=True
ShellBarChevron=True
AddressBarBreak=True
AddressBarGripper=True
MenuBarWidth=
ToolBarWidth=
ShellBarWidth=
AddressBarWidth=
GoButtonGripper=True
GoButtonBreak=False
AlignBottom=False
KioskBarScrollBy=40
AutoSizeButtons=False
ButtonTextRight=False
ToolBarIconHeight=
ToolBarIconWidth=
ShellButtonIconWidth=
ShellButtonIconHeight=
KioskToolBarIconHeight=
KioskToolBarIconWidth=
KioskBarButtonColor=
KioskBarBackGroundColor=

[Printer]
ShowPrintButtonDialog=False
ForcePrintPreview=False
UseLimitPrintJobs=False
LimitPrintJobs=0
PrintJobLimitTitle=Print Limit
PrintJobLimitMessageFile=PrintLimit.txt
ShowPrintingDialog=False
PrintingTitle=Page Printing
PrintingMessageFile=Printing.txt
CheckPrintAccess=False
PrintDialogShowCancel=True
ShowPrintMenuDialog=True
PrintTemplateFile=
ShowPrintIDDialog=False
PrintIDDialogTitle=Print Identification
PrintIDDialogHeight=
PrintIDDialogWidth=
PrintIDDialogFile=printID.htm

[Dialogs]
DialogSeconds=15
PolicyTitle=Policy
AccessTitle=Warning: Denied
ConfirmCloseDefaultNo=True
ConfirmCloseTitle=Confirm Close
PolicyHeight=
PolicyWidth=
ConfirmCloseSoundFile=
AccessDeniedSoundFile=
AlwaysOnTop=True
SecondInstanceTitle=Second Instance
IncorrectPasswordMessage=Incorrect password entered?!
AccessURLRedirect=
PolicyShowDecline=True
PolicyShowClock=True
MessageHeight=
MessageWidth=
OkButtonText=Ok
CancelButtonText=Cancel
DeclineButtonText=Decline
AcceptButtonText=Accept
YesButtonText=Yes
NoButtonText=No
ShowPopupMessage=False
PopupOnMessageTitle=Pop-ups are on
PopupOffMessageTitle=Pop-ups are off
UseHtmlDialogs=False
  
[Files]
WorkingAnimation=
PolicyFile=Policy.txt
HistoryFile=History.txt
CheckURLFile=URL.txt
CheckIPFile=IP.txt
PopupAdFile=Popup.txt
AccessMessageFile=Access.txt
ConfirmCloseMessageFile=
SaveAsErrorMessageFile=
FavoritesFolder=Favorites
ShellBarFolder=ShellBar
StartupScript=
ShutdownScript=
PolicyDeclineScript=
DesktopFile=
SendToAppLink=
SendToAppFile=
CheckPrintFile=
PopupOnButtonFile=
PopupOffButtonFile=
PasswordFile=
NewWindowProcessINI=
InactivityScript=
CheckPostDataFile=
CheckACFile=
ActivityScript=
TimeCheckScriptDay=
TimeCheckScriptNight=
ToolBarIconFolder=
ExecuteOnDenyAccess=

[WebFiles]
EnableWebFiles=False
CheckURLFile=
CheckIPFile=
CheckPrintFile=
PopupAdFile=

[Directories]
SaveAsDirectory=
SaveAsErrorTitle=Floppy required
DownloadDirectory=

[RestrictedSave]
EnableRestrictedSave=False
RestrictedSaveApp=

[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=False
WriteHistoryFile=False
TrackURL=False
CheckURLAccess=True
CheckIPAccess=False
ClosePopupAds=False
ShowAccessDialog=True
LogAccess=False
ClearCacheOnHome=False
ClearCacheOnClose=False
DisableAddressDropDown=False
DisableContextMenu=False
UseCustomContextMenu=True
ShowPolicyDialog=False
OnlyAccessHTTP=False
DisableSecondInstance=False
RestartOnClose=False
ShowPasswordDialog=False
PasswordTitle=Public Web Browser
Password=password
CheckInitialURL=False
DisableFileDownload=False
AllowSingleLinkLevel=False
AllowBrowseOnDeny=False
LogoffOnExit=False
ShowFilterStatus=False
FilterOnText=<Filter>
FilterOffText=<Filter>
ShowProxyStatus=False
ProxyOnText=<Proxy>
ProxyOffText=<Proxy>
ShowDenyDialogOncePerSession=False
OnlyAccessInternet=False
DebugAccessString=False
AllowLinkLevelDepth=0
CheckPostDataAccess=False
DisableFileUploads=False
TrackLogon=False
CacheFilterFiles=False
CheckACAccess=False
SecondInstanceNavigateCurrent=False
RebootOnExit=False

[Overrides]
ExitBrowser=
Logoff=
Shutdown=
ResetActvityTime=
ResetPrintLimit=
RestrictedSave=
ReReadINIFile=
OpenSysedit=
OpenRegedit=
OpenExplorer=
DisableProxy=
DisableFilters=
ShowAddressBar=
OverrideURLKeyword=

[HTMLError]
EnableRedirect=False
DebugErrorNumber=False

[Java]
EnableExternalJava=False
JavaExit=
JavaActivity=
JavaRegister=
JavaHideToolbar=
JavaExecute=
JavaReadINIFile=
JavaPrint=
JavaHideAddressBar=
JavaOverrides=

[ScreenSaver]
EnableScreenSaver=False
ScreenSaverSeconds=1200
EnablePolicyScreenSaver=False
PolicyScreenSaverSeconds=10
DisableScreenSaverOnPolicyClose=False
DisableScreenSaverOnClose=False
WindowsScreenSaverExe=
WindowsScreenSaverMinutes=0

[Inactivity]
InactivityTimer=False
InactivitySeconds=1200
InactivityMessageTitle=Warning
InactivityMessageFile=Inactivity.txt
InactivityAction=Home
InactivitySoundFile=
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

[Activity]
ActivityTimer=False
ActivitySeconds=1200
ActivityMessageTitle=Warning
ActivityMessageFile=Activity.txt
ActivityWarnAt=120
ActivityWarnTitle=Warning
ActivityWarnMessageFile=ActivityWarn.txt
ActivityAction=Exit
ActivitySoundFile=
ActivityStartOnOpen=False
ActivityShowInTitleBar=True
ActivitySecondWarnAt=5
ActivitySecondWarnMessageFile=ActivityWarn.txt
DisableDialogTimer=False

[TimeCheck]
EnableTimeCheck=False
TimeToActionDay=10:14:00
TimeToActionNight=
TimeToWarnSeconds=300
MessageTitleDay=Day Action
MessageFileDay=Access.txt
MessageTitleNight=
MessageFileDNight=
MessageTitleWarnDay=Day Warning
MessageFileWarnDay=Access.txt
MessageTitleWarnNight=
MessageFileWarnNight=
ActionDay=Exit
ActionNight=

[Proxy]
UseCustom=False
ProxyEnable=
ProxyServer=
ProxyOverride=
AutoConfigURL=

[PageSetup]
UseCustom=False
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1

[Buttons]
Back=True
Forward=True
Separator1=False
Stop=True
Refresh=True
Home=True
Separator2=True
Search=True
Favorites=True
Print=True
PrintPreview=True
Separator3=True
Send=False
WebMail=True
Separator4=True
About=True
Policy=False
Separator5=True
New=False
Save=False
Separator6=False
Cut=False
Copy=False
Paste=False
Find=False
TextSize=True
Encoding=True
Popup=False
Shell=False

[KioskButtons]
Back=True
Separator1=True
Forward=True
Separator2=True
Stop=True
Separator3=True
Refresh=True
Separator4=True
Home=True
Separator5=True
Print=True
Separator6=True
ScrollUp=True
Separator7=True
ScrollDown=True
Separator8=True
Close=True

[MenuItems]
FileMenu=True
FileNew=True
FileOpen=True
FileSaveAs=True
FileSeparator1=True
FilePageSetup=True
FilePrintPreview=True
FilePrint=True
FileSeparator2=False
FileSend=False
FileSendFile=True
FileSendLink=True
FileSeparator3=True
FileProperties=True
FileExit=True
EditMenu=True
EditCut=True
EditCopy=True
EditPaste=True
EditSeparator1=True
EditSelectAll=True
EditSeparator2=True
EditFind=True
ViewMenu=True
ViewSeparator1=True
ViewGoto=True
ViewGotoBack=True
ViewGotoForward=True
ViewGotoHome=True
ViewGotoSearch=True
ViewStop=True
ViewRefresh=True
ViewTextSize=True
ViewTextSizeLargest=True
ViewTextSizeLarge=True
ViewTextSizeMedium=True
ViewTextSizeSmall=True
ViewTextSizeSmallest=True
ViewSeparator2=True
ViewSource=True
ShellMenu=False
FavoritesMenu=True
FavoritesAdd=True
FavoritesOrganize=True
FavoritesSeparator=True
HelpMenu=True
HelpPolicy=True
HelpAbout=True

[ContextMenu]
OpenLink=True
OpenLinkNew=True
SaveTarget=True
PrintTarget=True
Separator1=True
ShowPicture=True
SavePicture=True
SetWallPaper=True
SetDeskTopItem=False
Separator2=True
Cut=True
Copy=True
CopyShortcut=True
Paste=True
Separator3=True
Encoding=True
Separator4=True
Print=True
Refresh=True
Separator5=True
Properties=True

[URLKeys]
EnableURLKeys=False
EnableURLFKeys=False

[Addons]

This is the URL.txt

Code: Select all

;Sample URL file
;
;Comments are started with ";"
;
;Notice this file can be formatted for easier reading
;
;Please note you should remove anything that is not needed.
;This will keep PWB running as efficient as possible.

;"+all" adds all URL address, "-all" subtracts all URLs

+sunderland.ac.uk
+library.dur.ac.uk
+librarycat.northumbria.ac.uk
+talisprism.tees.ac.uk
+catalogue.bl.uk
+main-cat.nls.uk
+llgc.org.uk
+hip.nli.ie
+ipac.nal.vam.ac.uk
+catalog.loc.gov
+library.uq.edu.au
+johnsmith.co.uk
+157.228
+128.240.40.80
+152.105.244.3
+javascript
+prism.talis.com/sunderland-ac

-all


;-C:\

	;-www.hotmail.com

;-games.com
;-.wav


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

Post by Scott »

Where are the users clicking the links at?

--Scott

wl0ifr
Observer
Observer
Posts: 8
Joined: Fri Oct 08, 2004 5:57 am

Post by wl0ifr »

hi Scott,

the links are on a page accessed from the homepage (http://prism-01.sunderland.ac.uk/TalisPrism/)

unfortunately i can't give you a direct link but if you go to that web address and click on "other catalogues" you will find the links,

thanks
ian

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

Post by Scott »

If you have access to the source of the page you can remove the "target=_blank" portion of the page so the link will open in the current window.

Code: Select all

<a href="http://library.dur.ac.uk/" target="_blank">Durham
  University</a>
I will check into the "OpenInParentWindow=True" setting, although this setting will cause other issues if any web site you use has pop-up windows.

--Scott

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

Post by Scott »

PWB v2.10.8 (July 27, 2009) available on the Beta Download page should correct the "OpenInParentWindow" setting.

--Scott

wl0ifr
Observer
Observer
Posts: 8
Joined: Fri Oct 08, 2004 5:57 am

Post by wl0ifr »

Hi,

Scott, I've installed the beta version and my problem has been resolved. Thanks for your help with this.

Ian

Post Reply