• Resolved jrodgers

    (@jrodgers)


    when placing a gallery with more than x pictures in a post the paging option appears below the gallery, clicking on the paging options does not advance the gallery but loads the page

    page link to postings page
    /index.php/2008/events

    has series of posts including a gallery post which has 3 pages of postings for the gallery
    clicking on option [2] link becomes
    /index.php/2008/events?nggpage=2
    but gallery does not advance to page 2

    condition exist where gallery is a post not a page and exists whether there is a single gallery or multiple gallery

    i tried to alter the permalinks which resulted in 404 errors when clicking the paging options

    however, when viewed as a single post the paging functions as expected
    single post url
    /index.php/175
    and after clicking the paging option
    /index.php/175?nggpage=3

    is there a way to turn paging off in posts and substitute a more link and sending the user to the single post page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jrodgers

    (@jrodgers)

    i was able to force the navigation not to show in the postings page by wrapping the function code in an if statement that uses the the is_single() fucntion to determine if the post is one of many or on itsown

    in the ngg plugin directory there is a subdirectory called lib
    look for the file
    nggallery.lib.php

    in this file is a function called create_navigation

    i added this as the first line after $navigation = “”;
    if(is_single()){
    ….
    rest of code goes here
    } place this brace before the return statement

    though not the solution, this is a decent work-around to the nggpage problem within a template.

    With the current version, the lib is core.php and not the one mentioned above, but the hack is the same.

    I believe (if I understand the problem above correctly) that I’m having the same problem. Is there a solution for it (aside from the hack)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NextGen Gallery]’ is closed to new replies.