Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • benrud Friend
    #129692

    Hello All,

    I just found a strange problem with the gallery navigation when you access a subgallery from the main gallery page.

    I know that’s confusing so if you follow these instructions you’ll see what I mean.

    Go to http://benrud.net/
    -click on Gallery from the main menu.
    -choose any subgallery with more than 20 photos
    -scroll to the bottom of the page of the subgalery and choose page two
    –you’ll see no images are displayed.

    If you navigate to a subgallery from the dropdown menu the page 1,2,3 menu works.

    Any ideas on fixing this?

    Thanks,
    Todd

    Sherlock Friend
    #253805

    HI
    I have viewed your site, and i saw that everything is okie.
    Can u say what subgallery you choose ?

    benrud Friend
    #256920

    go to benrud.net
    click on gallery
    scroll to the bottom of the page and select the “Subgallery” Puerto Rico – June of 2008 (it in the travel gallery).
    scroll to bottom of the page and use the gallery navigation (1,2,3,4,etc…)
    when I try to use this navigation it opens the next page, but doesn’t display any images.

    Sherlock Friend
    #257111

    Hi
    plz edit display.class.php. line 818 (components/com_rsgallery2/templates/ja_semantic/ folder)
    replace those lines

    function _subGalleryList( $parent ){
    global $Itemid;
    $kids = $parent->kids();

    if( count( $kids ) == 0 ) return;

    echo "Subgalleries: ";

    $kid = array_shift( $kids );

    while( true ){
    ?>
    <a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$kid->id); ?>">
    <?php echo htmlspecialchars(stripslashes($kid->name), ENT_QUOTES); ?>
    (<?php echo $kid->itemCount(); ?>)</a><?php

    if( $kid = array_shift( $kids ))
    echo ', ';
    else
    break;
    }
    }

    }
    By

    function _subGalleryList( $parent ){
    global $Itemid,$rsgConfig;
    $kids = $parent->kids();

    $limit = rsgInstance::getInt( 'limit', $rsgConfig->get("display_thumbs_maxPerPage") );
    if( count( $kids ) == 0 ) return;

    echo "Subgalleries: ";

    $kid = array_shift( $kids );

    while( true ){
    ?>
    <a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$kid->id."&limit=".$limit); ?>">
    <?php echo htmlspecialchars(stripslashes($kid->name), ENT_QUOTES); ?>
    (<?php echo $kid->itemCount(); ?>)</a><?php

    if( $kid = array_shift( $kids ))
    echo ', ';
    else
    break;
    }
    }

    }

    benrud Friend
    #257685

    nguoiabcd,

    THANK YOU! You are the man!

    Todd

    jantonio Friend
    #258015

    Sorry….that didn’t do it for me. I’m having the same issues. (JA AVIAN II ). Can you further assist?

    Seems like a pagination issue.

    Sherlock Friend
    #258044

    Hi jantonio.
    As you said in other topic, you cleared cache, and evreything is okie, if you have other questions, plz create new topic

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  Sherlock 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum