WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
[resolved] Won't allow reordering. (15 posts)

  1. creativelevity
    Member
    Posted 1 year ago #

    This has worked great until I updated WP (3.1.4) and File Gallery (1.7.5.1). Now it will not save when I reorder images in a page. I can move them, then click Save Attachement Order, then Update the page and they go back to the order they were in before.

    Thoughts?

    http://wordpress.org/extend/plugins/file-gallery/

  2. jynk
    Member
    Posted 1 year ago #

    Ah - got this too and posted a similar complaint.

    Dc.

  3. marcycapron
    Member
    Posted 1 year ago #

    same problem on multiple sites with varying versions of WP, but most recent version of FG.

  4. creativelevity
    Member
    Posted 1 year ago #

    Glad to hear others have this problem too, but how do we get it addressed? Thoughts?

  5. nimmolo
    Member
    Posted 1 year ago #

    Me too. WP 3.4.1. Gallery not re-orderable.

    Also, galleries of attachment images are displaying in REVERSE ORDER from the (unchangeable, incorrect) order shown in file gallery.

  6. helgatheviking
    Member
    Posted 1 year ago #

  7. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    @everyone:

    I'll release an update tomorrow to fix this issue.

    my apologies on a slow response, but it's my last week at work before summer break and I'm busy as hell.

    thanks for understanding, and thanks for using File Gallery :)

  8. creativelevity
    Member
    Posted 1 year ago #

    Very awesome! Thanks for all the effort :)

  9. helgatheviking
    Member
    Posted 1 year ago #

    @aesque - awesome and thank you! unless you already know the problem, i think i found 3 minor errors that were causing the issue: as i linked to above. it is working for me locally. the datebase queries were always working but retrieving the data your sortby variable wasn't being defined properly.

    hopefully that helps somehow.

  10. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    I've uploaded v1.7.5.2 here:

    http://skyphe.org/files/wordpress/file-gallery-1752.zip

    if anyone could test this version and confirm it works on their setup, I'd be very grateful.

  11. jako2000
    Member
    Posted 1 year ago #

    It's better: pictures remain as re-ordered on the post editing page when updating, but remain ordered by upload date on the blog.
    Thanks for your work;

  12. helgatheviking
    Member
    Posted 1 year ago #

    i confirm jako2000's problem. i think in templating.php you have to have

    $orderby = "menu_order ID";

    instead of

    $orderby = "menu_order, ID";

    when i remove that comma the gallery appears in the correct order. i'm not even sure why ID is needed here?

  13. jako2000
    Member
    Posted 1 year ago #

    If I add order="file-gallery" in the text, order on the blog is different, but still not the wished one. Hope it may help.

  14. Hirocking
    Member
    Posted 1 year ago #

    I had the same problem even after the v1.7.5.2 installation.
    But helgatheviking's suggestion worked! (changed 2 lines in "templating.php")

    Thanks for both helgatheviking and Aesqe!

    Especially for Aesqe to develop such a wonderful plug-in!!

  15. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in 1.7.5.3 - marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic