Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    I think the problem is in: frontend/models/BWGModelGalleryBox.php, in function get_image_rows_data.

    We’re receiving the parameter $order_by “ASC”, but in the preg_replace we’re asking for “asc”, in minus.

    if (preg_replace('/\s+/', '', $order_by) != 'asc') {
          $order_by = 'desc';
    }

    So the parameter is always changing to “desc”, and the lightbox order is always changed.

    I’ve just changed the value to MAYUS, and everything worked ok:

    if (preg_replace('/\s+/', '', $order_by) != 'ASC') {
          $order_by = 'desc';
    }
    Thread Starter himme

    (@himme)

    Thanks – it works!

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Himme,

    Please provide full size screenshots of the following pages:
    1) plugin settings page
    2) gallery in the edit mode (where the problem occurs)
    3) gallery in the sidebar

    Also, please specify a link to your website.

    You can sort images in your gallery on the plugin settings page. To do this, you need to set parameters in ‘Sort images by Attachment’ and select a sort method in ‘Sort images’ option.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter himme

    (@himme)

    Hi BestWebSoft Support Team
    for the solution take a look at the posts to my question.

    Himme

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Himme,

    There is no code in Gallery plugin you’ve described, and there is no such file as ‘BWGModelGalleryBox.php’. So probably, this problem is related to another plugin.
    If you have any questions about our plugin, please contact our us via our support forum (https://support.bestwebsoft.com/hc/en-us/requests/new).

    Sincerely,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Himme,

    Since there is no reply from you, we consider this topic as resolved. We hope you’ve found the solution. If you have any questions, please feel free to contact us via our Help Center – https://support.bestwebsoft.com/.

    Sincerely,
    BestWebSoft Support Team

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pictures are in the wrong order when I open it from the Sidebar’ is closed to new replies.