Jump to content


Turning Off The Popup

custom login no popup

  • Please log in to reply
5 replies to this topic

#1 armorenets

armorenets

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 22 February 2012 - 06:11 PM

Is it possible to disable the time remaining popup. This free hotspot is for hotel guests and a user that just auto terminates after 24 to48 hours would be better. The time remaining box is annoying and unneeded. Turning it off would be great.

#2 Roland

Roland

    Hotspot System Staff

  • Administrators
  • 250 posts

Posted 24 February 2012 - 03:14 PM

Yes you can modify the hotspotlogin_success template and remove the body unload which calls the popup script.

#3 grampy

grampy

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 14 March 2012 - 05:06 PM

View PostRoland, on 24 February 2012 - 03:14 PM, said:

Yes you can modify the hotspotlogin_success template and remove the body unload which calls the popup script.
Could you please explain how to do this? Not sure which text to delete(edit) Thanks.

#4 Roland

Roland

    Hotspot System Staff

  • Administrators
  • 250 posts

Posted 14 March 2012 - 05:20 PM

Edit: hotspotlogin_header2.inc.html

The first line looks something like this:
<body style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;" onLoad="{POPUP_CODE}">

Delete the onLoad part and add the {POPUP_CODE} tag after the body tag within a comment tag. So after you edit it would look something like this:
<body style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;"> <!-- {POPUP_CODE} -->


#5 grampy

grampy

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 15 March 2012 - 01:22 AM

View PostRoland, on 14 March 2012 - 05:20 PM, said:

Edit: hotspotlogin_header2.inc.html The first line looks something like this:
 <body style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;" onLoad="{POPUP_CODE}"> 
Delete the onLoad part and add the {POPUP_CODE} tag after the body tag within a comment tag. So after you edit it would look something like this:
 <body style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;"> <!-- {POPUP_CODE} --> 
Thank you. Now where would I delete the text "NOTE: You have to enable popup windows to see your account and logout information." ?

#6 Roland

Roland

    Hotspot System Staff

  • Administrators
  • 250 posts

Posted 17 March 2012 - 09:12 AM

You can edit the language and message files to edit language specific tags, or you can use the same technique as above. Please check out our webcast about customizing HTML code: http://www.hotspotsy..._tutorials.html (Customize splash page)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users