• Resolved TiKu

    (@tiku)


    Hi,

    We have lots of galleries and the first thing every author does when entering wp-admin/admin.php?page=nggallery-manage-gallery is to sort the galleries by ID, in descending order. Is there a way to make this sort option persistent? As a quick fix, which part of the source code would have to be changed to open “?page=nggallery-manage-gallery&orderby=gid&order=desc” instead of “?page=nggallery-manage-gallery”?

    Regards
    TiKu

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 9 replies - 16 through 24 (of 24 total)
  • Or do you also have to add the other code to /manage-galleries.php first?

    Plugin Contributor photocrati

    (@photocrati)

    @digbymaass – Thanks for pointing out the extra } but please note, the filters have *not* been added to the current stable release (2.1.7).

    If you want to use the filter method then you will need to wait until the next release of NextGEN Gallery.

    Thanks!

    – Cais.

    Benjamin

    (@benjaminowens)

    Sorry, I was copy/pasting my example code from my local test site where I was using an object instead of just dumping everything into the global context. Please ignore the extraneous end brace.

    Ok the new release has:
    V2.1.9 – 08.25.2015
    NEW: Added ngg_manage_galleries_items_per_page filter
    NEW: Added ngg_manage_galleries_items_order filter
    NEW: ngg_manage_galleries_items_orderby

    I’m now puzzled as to where one puts the settings one wants. I see nowhere to make the settings.

    Plugin Contributor photocrati

    (@photocrati)

    @digbymaass – Those are the filters you can use to “set” the values you want to use, the UI has not been modified for them.

    … and again, please start your own topic so we can try to help you with your specific issue on your specific site as this topic was started by another person.

    See https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

    It’s not a site specific issue.

    Plugin Contributor photocrati

    (@photocrati)

    @digbymaass – It is still a courtesy to start your own topic.

    Thanks!

    – Cais.

    You have to look at it from our point of view too. There are so many issues to solve on a site using WP that we spend hours, days, troubleshooting. Googling for solutions endlessly. A long thread with different posters is sometimes very time saving as one can learn from it, and see various opinions or solutions in one go, or the evolution of a solution. Multiple documents each with a small part are harder to search and open, mixed as they are with a lot of other irrelevant stuff. Though I quite understand the argument if it is site related.

    Plugin Contributor photocrati

    (@photocrati)

    @digbymaass – I understand your point but I am only trying to work within the forum rules, especially in topics that are resolved for the OP, which is the key point of the topic to being with.

    If the topic content does not help to resolve the non-OP site’s issue then it should be in a new topic, regardless, as the underlying problem in most every case will be different.

    Thanks!

    – Cais.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Default sorting of galleries’ is closed to new replies.