Please redesign phplist so internet browser doesnt refresh

Things you'd like to see in phpList

Please redesign phplist so internet browser doesnt refresh

Postby mrmckoy » 3:40am, Sat 15 Dec, 2012

Minimizing or maximizing a window with phplist refreshes the screen. Using a mobile phone with phplist is even worse. Users cant subscribe from thier mobile phones because the dynamic HTML code refreshes the screen when the keyboard appears.

My users tell me it is very frustrating. We should remember smart phones are on the rise...in fact in europe more mobile phones are used than desktops.

The phpist forum could use an upgrade too... Maybe vbulletin? Its easier to upgrade from phpbb to vbulletin than it is to upgrade phpbb to its next version.
mrmckoy
PL Master
 
Posts: 169
Joined: 7:10am, Sat 24 Nov, 2007
Location: Atlanta, GA

Re: Please redesign phplist so internet browser doesnt refre

Postby Jappie » 10:53am, Tue 26 Mar, 2013

Hello mrmckoy,

I had the same frustration and your message prompted me to have a look what could be causing this behaviour. As it turns out there are two java scripts that contain the refresh trigger.

My suggested course of action to overcome the issue is to comment out the
// Handle Navigator 4 window resizing
of select_style.js file. This file is located in:
[install_directory]/admin/js.
Be aware that this modification is not upgrade-safe:
Code: Select all
if (is_nav4up) {
var initWidth, initHeight;
initWidth = window.innerWidth;
initHeight = window.innerHeight;
window.captureEvents(Event.RESIZE);
 window.onresize = handleResize;
 }


Change this to:
Code: Select all
// if (is_nav4up) {
   // var initWidth, initHeight;
   // initWidth = window.innerWidth;
   // initHeight = window.innerHeight;
   // window.captureEvents(Event.RESIZE);
   // window.onresize = handleResize;
// }


BTW: there is a 2nd file called "select_style.js file". This file is located in:
[install_directory]/js. It seems to me that this file might be used for not authenticated users so if you'd like to disable this behaviour for unauthenticated users it seems to me you should make the same mod in this file.

Cheers JP
Jappie
phpLister
 
Posts: 14
Joined: 8:20pm, Thu 14 Jul, 2011

Re: Please redesign phplist so internet browser doesnt refre

Postby mrmckoy » 12:36am, Wed 29 May, 2013

awesome... i meant to thank you months ago
mrmckoy
PL Master
 
Posts: 169
Joined: 7:10am, Sat 24 Nov, 2007
Location: Atlanta, GA


Return to Feature Requests, Wish-list

Who is online

Users browsing this forum: No registered users and 1 guest