Previous / Next pages missing list page image

7 posts by 3 authors in: Forums > CMS Builder
Last Post: July 27, 2009   (RSS)

Re: [Janet] Previous / Next pages missing list page image

By Dave - August 11, 2008

Hi Jan,

I think what's happening is getListRows is trying to load page 2 of it's results because of the page 2 in the url. Try adding this (in red):

$options['where'] = "directory_name = '$facultyDirectory'";
$options['pageNum'] = "1";
list($listRows, $listDetails) = getListRows($options);

Let me know if that fixes it.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Previous / Next pages missing list page image

By Janet - August 13, 2008

Thanks for your usual quick response, Dave. That doesn't seem to do the trick. It's happening on my Events pages, too. Here's a peek: http://www.ecology.uga.edu/eventsList.php?page=1

Page 1 is fine... got my topbar menu and my sidebar category listings.
Page 2 is wonky... lost the topbar menu items that are pulling from the database and my sidebar category listings.

I suspect an answer to this would be the solution to the graduate school pages as well.

Hum....

Re: [Janet] Previous / Next pages missing list page image

By Dave - August 13, 2008

Hi Janet,

They don't seem to be showing on either page now? If you can get it back working on one page at least (even if not the other) then I can take a look and compare and see what the difference is.

Let me know and I'll take a look. Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Previous / Next pages missing list page image

By tsuluwerks - July 26, 2009

I am having a similar problem. I have two pages on a site under development that call multiple tables to display information. The URLS:
http://www.tuttobellainc.com/colorcards.php
http://www.tuttobellainc.com/gallery.php

On the first page, all of the elements are showing up great. As soon as detail on another item from the list is selected, the footer information disappears from the bottom of the page.

I think it's because the page is set up to only show 1 list item from one of the tables. I think that it is then ignoring all of the table queries after that.

Do you have a recommendation on how to fix this issue?

Thanks,
Tracy

Re: [tsuluwerks] Previous / Next pages missing list page image

By Dave - July 27, 2009

Hi Tracy,

For the footer viewer code, try removing the line that says "where". I think what's happening is it's picking up the record number in the url. Removing the where will have it just load the first record.

Let me know if that fixes it.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Previous / Next pages missing list page image

By tsuluwerks - July 27, 2009

It works perfectly, Dave. Thanks!