[wp-hackers] Ajaxian Page Ordering for Wordpress
berpasan at gmail.com
Mon Sep 24 02:05:47 GMT 2007
It turns out there are a lot file changes (13 I believe) but most of them
script-loader, new permission to order pages) or are for added files that
will never need to be changed/messed with by the WP folks (eg.: external
The only substantial parts of code that belong to WordPress are at *
**, **wp-admin/admin-ajax.php (altered) *and if you add them up there are
probably less than 300 LOC, which is also pretty independent from everything
else in WP and very unlikely to break anything else.
Thanks for the nice comments, Cheers,
On 9/20/07, Chris <chris.hearn01 at ntlworld.com> wrote:
> Well done Bernardo - it looks good!
> As it will not be a plugin (for reasons I understand), I hope it gets
> accepted into core, as there are too many file changes to patch and
> keep correct as deifferent WP versions are rolled out.
> Bernardo Santos wrote:
> > Hi all,
> > Thanks for all the nice suggestions and comments. I have now made the
> > adjustments to the ajax page ordering functionality, including some of
> > suggestions given and with all the bugs fixed (hopefully). It is now
> > at 20 items (I found it to be the ideal balance, but changing this
> > takes no effort). The animation is now a "fade in/fade out" effect,
> which I
> > think looks less aggressive/jumpy, but that can be changed very easily
> > well.
> > I put it together in two ways: a complete wordpress package (
> > and a patch (
> > I have updated my sandbox (
> > http://bernardopadua.com/wp-sandbox/19-sep-2007/wp-admin/edit-pages.php)
> > where you guys can test it (user: test / pass: test).
> > Please, check this post for more information:
> > http://bitsinashortbit.wordpress.com/2007/09/16/the-final-bits-of-gsoc/
> > If you are interested in using the jQuery plugins that were developed to
> > provide this functionality, take a look at:
> > http://nestedsortables.googlecode.com/
> > Cheers,
> > Bernardo
> > On 9/5/07, Chris <chris.hearn01 at ntlworld.com> wrote:
> >> Horizontal dragging allow you to change the parent/child level -
> >> changing the vertical position if you want too!
> >> very useful
> >> Chris
> >> Stephen Rider wrote:
> >>> On Sep 5, 2007, at 12:17 PM, Andrew Ozz wrote:
> >>>> Dragging off the edge of the window - you should be able to (easily)
> >>>> constrain the dragging to vertical only. There's no need for
> >>>> horizontal dragging there. The insertion guide shows clearly where
> >>>> the dragged Page titles will drop.
> >>> I think horizontal dragging does have a place, though -- it's allows
> >>> you to distinguish between a child page and a sibling.
> >>> _______________________________________________
> >>> wp-hackers mailing list
> >>> wp-hackers at lists.automattic.com
> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Bernardo de Pádua dos Santos
Instituto Tecnológico de Aeronáutica
Tel.: (12) 3939-3144
Cel.: (12) 9146-9128
More information about the wp-hackers