• take a look at my site at

    toastskateboards.com/tv/

    the way i have the site set up is:

    there are two categories on one page.. on the left is the category that contains the videos. on the right is a category that contains the nextgen gallery. as you see the nextgen gallery thumbnails link to the videos..

    if you test the pagination does not work when you click to go to the second page to see the rest of the videos.

    not for sure what is going on here but if some one can please help out and correct me i would greatly appreciate it.

    thanks in advance.

Viewing 6 replies - 16 through 21 (of 21 total)
  • You will find them in nggfunctions.php, Indeed it’s looking for some parameter in the query string, if this failed, then the pagination didn’t work

    Thread Starter carldesigns

    (@carldesigns)

    is it the out string? under the navigation section?

    Thread Starter carldesigns

    (@carldesigns)

    alex.. and who every else that might be able to help.

    here is what i am thinking..

    if you look here..
    toastskateboards.com/tv/video-listings/video-listings/

    you will notice that this is the actual post for the gallery.

    and the code in the nggfunction.

    // check for page navigation
     	if ($maxElement > 0) {
    	 	if ( !is_home() || $pageid == get_the_ID() ) {
    			if ( !empty( $nggpage ) )
    				$page = (int) $nggpage;
    			else
    				 $page = 1;
    		}
    		else $page = 1;
    
    	 	$start = $offset = ( $page - 1 ) * $maxElement;
    
    	 	$total = count($picturelist);
    
    		// remove the element if we didn't start at the beginning
    		if ($start > 0 ) array_splice($picturelist, 0, $start);
    		// return the list of images we need
    		array_splice($picturelist, $maxElement);
    
    		$navigation = nggallery::create_navigation($page, $total, $maxElement);
    	} 	
    
    	if (is_array($picturelist)) {
    	$out  = '<div class="ngg-galleryoverview" id="ngg-gallery-'. $galleryID .'">';

    Think there is a way to get it to call itself from its own place instead of the toast video category listings when it sits in
    toastskatboards.com/tv/
    and
    toastskateboards.com/tv/what every post here

    ???

    Thread Starter carldesigns

    (@carldesigns)

    what string calls the url?

    Thread Starter carldesigns

    (@carldesigns)

    basically i want to manipulate the navigation in/for my gallery to read the url ilke

    toastskateboards.com/tv/video-listings/video-listings/

    toastskateboards.com/tv/video-listings/video-listings/?nggpage=2

    the “video-listings/video-listings/”

    so it will not read any other urls that conflict with other post in the page
    like

    toastskateboards.com/tv/toast-tv/a-day-in-the-life-of-nate/?nggpage=2

    which is not correct.

    what do i need to edit to do this…

    Thread Starter carldesigns

    (@carldesigns)

    sorry for the bump.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: NextGEN Gallery] pagination not working’ is closed to new replies.