ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Gallery with multiple pagination problem

March 31, 2009 12:35pm

Subscribe [1]
  • #1 / Mar 31, 2009 12:35pm

    matt960

    16 posts

    Hi,

    I’ve hit a wall trying to develop a portfolio site and after many an hour unsuccessfully searching for a fix, I think I need to call on the help of the EE community!

    The development site URL: [removed]

    Using the gallery module, I have built a gallery that shows a list of categories as images (the row of thumbnails) and also uses category pagination (the numbers under the thumbs). This was achieved using the query module and was based on info I found at this post: http://ellislab.com/forums/viewreply/387873/

    When a user clicks on one of the category thumbs, the images from that category are displayed in the main image area, and are paginated to the left of the main image (the row of numbers on the left).

    My problem appears to be caused by the fact that there are two separate pagination tags on the page: If I understand correctly pagination is determined by the URL so when the user clicks through the image pagination (screen left) the URL affects the pagination of the category list too. - for example - from the home page, clicking on page 3 or higher of the image pagination (screen left) causes the category pagination (screen bottom) to change.

    Is there a way I can prevent this from happening? - So each pagination works independantly of each other?

    I’m pretty inexperienced in EE and I have been struggling with some of its concepts, so I have a feeling I’m missing something fundamental. I’ve been staring at this for days now! My template code is below, I really appreciate any help..

    Thanks
    Matt

    EDIT **** Fixed (sort of!) *****
    Now using some JQuery to fake the image pagination..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases