Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Gallery Module - Pagination not working


Reply


8 Posts   2188 Views

Avatar
Anaya

Community Member, 42 Posts

15 September 2009 at 1:20am

Hi Guys,

I have sucessfully installed gallery module, but pagination is not working at all.
In URL I can see that start counter is incrementing but can not see actual content on page. The content on page 2 and on all other pages remains as same as first page.
Am i missing something here??????
Pls need your help!

Regards
Anaya...

Avatar
Anaya

Community Member, 42 Posts

16 September 2009 at 11:50pm

Hey Guys,

Nobody replied to my post.
I know there is similar ticket submitted.
Clients has seen this gallery already, not good idea to change to new gallery module.
Is there really no way to sort out this pagination for Gallery Page??

Regards
Anaya...

Avatar
UncleCheese

Forum Moderator, 4096 Posts

17 September 2009 at 12:32am

Have you got a link? It's kind of hard to troubleshoot something we can't see.

Avatar
Anaya

Community Member, 42 Posts

17 September 2009 at 12:53am

Edited: 17/09/2009 12:54am

Hey,

I can do that...is there any way I can send you PM...
Its just website related with school, do not think client would be happy to have an url posted here...So sorry..

Regards
Anaya

Avatar
Nexus Rex

Community Member, 8 Posts

12 November 2009 at 4:33am

Did you find a solutions for this problem?

My gallery shows up just fine, but clicking the images does nothing and the pagination links refresh the page with the proper query string added, but the view stays on the first page.

http://www.deserttacticalarms.com/cms/dta-photo-video-media/

Please help!

Avatar
HanSolo

Community Member, 83 Posts

31 December 2009 at 1:10am

Hi I have the same problem since i upgraded to ss 2.3.4 anyone got a clue on how to solve this

Joakim

Avatar
julian_oz

Community Member, 1 Post

24 March 2010 at 5:19pm

In case this is useful to anyone.. To fix the get the pagination working you have to modify the function "paginationStart" in GalleryPage.php. Use the code below:

function paginationStart() {
      //if($this->action == 'page' && is_numeric($this->urlParams['ID'])) return $this->urlParams['ID'];
if( isset($_GET['start']) && is_numeric($_GET['start']) && (int)$_GET['start'] > 1) return (int)$_GET['start'];
else return 0;
   }

Cheers,
Julian

Avatar
netnerd85

Community Member, 42 Posts

28 May 2010 at 6:46am

Thank you very much julian for posting the fix, works like a charm!