• I am using a legacy template for the Image Browser because I want to make some adjustments to how the data is displayed (i.e., navigation to moved above the image, not below). I understand that this then disables Ajax pagination, mean each time Next or BAck is click the page refreshes to the top of the page and the viewer has to scroll back down to see the images.

    I might have to look at a custom solution to reactivate Ajax. Any suggestions where I can get started?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – I would suggest looking at the default ImageBrowser display template and working forward from there. It starts to get a lot more involved to create a custom template based on that file.

    – Cais.

    Thread Starter TSemmes

    (@tsemmes)

    Thank you. Where would I find the default ImageBrowser display template?

    Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – The template is here:

    /products/photocrati_nextgen/modules/nextgen_basic_imagebrowser/templates/nextgen_basic_imagebrowser.php

    … but I would actually suggesting getting familiar with all of the code in this folder:

    /products/photocrati_nextgen/modules/nextgen_basic_imagebrowser

    … before working with that template.

    – Cais.

    Thread Starter TSemmes

    (@tsemmes)

    Thanks! I modified the template and didn’t seem to have any problems. I am saving the file in case it gets overwritten during an upgrade. You can see the work at https://northpointestudio.mystagingwebsite.com/gallery/monochrome-still-life/

    Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – Yes, there was an update just earlier today and there will always be more updates going forward. Definitely keep a copy of your modifications as they may be needed in the future.

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Supporting Ajax Pagination on Legacy Templates’ is closed to new replies.