WordPress.org

Forums

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

  1. creativelevity
    Member
    Posted 2 years 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 2 years ago #

    Ah - got this too and posted a similar complaint.

    Dc.

  3. marcycapron
    Member
    Posted 2 years ago #

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

  4. creativelevity
    Member
    Posted 2 years ago #

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

  5. nimmolo
    Member
    Posted 2 years 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 2 years ago #

  7. Aesqe
    Member
    Plugin Author

    Posted 2 years 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 2 years ago #

    Very awesome! Thanks for all the effort :)

  9. helgatheviking
    Member
    Posted 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years ago #

    Fixed in 1.7.5.3 - marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • File Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic