Bug in Cimi Theme - Pagination

Hi, I have approx 15 images in an album, when I view an image and then when I click on the album link to go back to the images in the album, I get sent to page 2, but there is no page 2.

ie: /lis/gallery/index.php?album=wildlife&page=2

It makes no difference what I set the number of images per album to.

Can anyone help plz!

Pat

Comments

  • acrylian Administrator, Developer
    Sorry, that theme is a unsupported third party theme that has not been updated for a while. Since the author probably has abandoned it by now I suggest to take a look at our theming tutorial to fix it. If you do we gladly will include a updated version on the themes page.
  • boo Member
    Hi, well it must be a local config issue, it's working fine online.

    Pat
  • boo Member
    Hi, no I spoke to soon, I still have this issue.

    Can anyone please help ?

    Pat
  • boo Member
    Update, this only happens with albums with sub albums.

    Pat
  • boo Member
    Fixed it.

    I went through the theme replacing all the theme code with the code from the zen default theme, I'm very sure the actual issue was due to:

    normalizeColumns('2', '6');?>

    missing from the first line of code on the image.php page, should read:

    <?php if (!defined('WEBPATH')) die(); $firstPageImages = normalizeColumns('2', '6');?>

    Pat
Sign In or Register to comment.