configure plugin screen no scroll

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

configure plugin screen no scroll

Post by rj »

I have a long long list of active plugins.
I have a rather short list of inactive plugins.
When I go get new plugins they go to the bottom of the active list.
If I grab one with the mouse and try to move it up it does not scroll the screen.
So I have to drop it off above somewhere, then do it again and again, about 5 times before the inactive list shows and I can deposit it. It is the same with moving one up or down.
Is there a command of some sort to click the box and then move things back and forth?
I think, not sure, what I would like is an extra command at the bottom there that says move inactive, rather than just delete.
Or is there some keyboard mouse thing to get the thing to scroll? :)

thanx

rj
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: configure plugin screen no scroll

Post by Don Chambers »

Someone else will have to address the scrolling issue... I cannot say I have encountered that problem as I keep my plugins to a minimum. You do realize each plugin brings a bit of overhead, right? If you have a bunch installed, you might want to seriously think about whether you REALLY need them all... I have noticed a bit of a performance boost from sites where I have deactivated plugins that were really not being used. Its not a huge gain, but every little bit helps.
=Don=
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Re: configure plugin screen no scroll

Post by rj »

They are mostly nuggets for the sidebars... 20 or so...
I wonder if they count? because most only load depending on categories... Category visibility plugin.

Do events add much overhead?
.
I dont think it matters much in my case with 10 videos on the front page!
I is what I is... :)
I just think a box at the bottom to MOVE rather than only REMOVE would be cool...

THanx

RJ
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: configure plugin screen no scroll

Post by Don Chambers »

Yeah, those frontpage videos are probably more of a load than your plugins. Garvin can probably say more about this than I can.
=Don=
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

I implemented the scrolling while dragging. Try to replace your /templates/default/dragdrop.js with the attached one.
sincerely
Attachments
dragdrop.js
(28.17 KiB) Downloaded 454 times
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: configure plugin screen no scroll

Post by stm999999999 »

worked fine, very fine!
Ciao, Stephan
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

Good to hear that :)
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

Don't want to push too hard, but if no issues are found, I think that belongs into the s9y-default.
sincerely
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: configure plugin screen no scroll

Post by stm999999999 »

I think, too. :D
Ciao, Stephan
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: configure plugin screen no scroll

Post by Don Chambers »

Me three.... but I think Garvin should review the code.
=Don=
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

Of course, but the added code which worked at the and of all my tries is just a few lines long. So that shouldn't be too hard. Would a diff help?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: configure plugin screen no scroll

Post by garvinhicking »

Hi!

Did you try it with IE6, IE7, IE8, Firefox2, Firefox3, Safari? It would be important that all these browsers work with it... I'm not familiar with your new code of getting the screensize of the browser, so we would need to make sure that it works in each of them...

Thanks for your work1

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

I tested Firefox 3 and Opera. Will see what else is possible :)
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: configure plugin screen no scroll

Post by Don Chambers »

I tested it in IE6, FF2 and Safari - all on a PC running Windows XP. It works. However, I noticed it is possible to drag items well below the bottom of the page in all these browsers.
=Don=
onli
Regular
Posts: 3043
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: configure plugin screen no scroll

Post by onli »

Thanks Don. In IE 8, it is only possible to scroll to the top, not the bottom. But the plugin remains dragged, so it is not totally necessary to fix it, it's still a half of the improvement. I can't do it anyway, can't find any error-console at all.

I don't see an approach to prevent the possibility to scroll below the footer, do you think it's an issue?
sincerely
Post Reply