-
AuthorPosts
-
benrud Friend
benrud
- Join date:
- May 2008
- Posts:
- 90
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 23
- Thanked:
- 1 times in 1 posts
June 14, 2008 at 11:48 pm #129692Hello 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,
ToddSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 16, 2008 at 2:19 am #253805HI
I have viewed your site, and i saw that everything is okie.
Can u say what subgallery you choose ?benrud Friendbenrud
- Join date:
- May 2008
- Posts:
- 90
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 23
- Thanked:
- 1 times in 1 posts
June 28, 2008 at 5:04 pm #256920go 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 30, 2008 at 4:45 am #257111Hi
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><?phpif( $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><?phpif( $kid = array_shift( $kids ))
echo ', ';
else
break;
}
}}
1 user says Thank You to Sherlock for this useful post
benrud Friendbenrud
- Join date:
- May 2008
- Posts:
- 90
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 23
- Thanked:
- 1 times in 1 posts
July 2, 2008 at 9:55 pm #257685nguoiabcd,
THANK YOU! You are the man!
Todd
July 4, 2008 at 11:29 pm #258015Sorry….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.
-
AuthorPosts
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