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   2124 Views

Avatar
Anaya

15 September 2009 at 1:20am Community Member, 42 Posts

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

16 September 2009 at 11:50pm Community Member, 42 Posts

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

17 September 2009 at 12:32am 4085 Posts

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

Avatar
Anaya

17 September 2009 at 12:53am (Last edited: 17 September 2009 12:54am), Community Member, 42 Posts

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

12 November 2009 at 4:33am Community Member, 8 Posts

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

31 December 2009 at 1:10am Community Member, 83 Posts

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

24 March 2010 at 5:19pm Community Member, 1 Post

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

28 May 2010 at 6:46am Community Member, 42 Posts

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