List view link are broken

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 8, 2008   (RSS)

Re: [justritedesign] List view link are broken

By Dave - January 8, 2008

Hi Michael, welcome aboard! :)

It looks like your "list viewer" page is trying to link to "newsPage.php" but that file doesn't exist. CMS Builder typically uses 2 files, one to show the list of records (list viewer), and one to show you individual records (page viewer).

If you haven't created a "page viewer" yet, do that first. Just copy the code from the bottom box on the code generator page and save it as newsPage.php (or whatever filename you like).

Next, if you've used a different filename than newsPage.php, update the 'viewerUrl' option in your "list viewer" (testcms4.php) page to point to filename you chose. Like this:

$options['viewerUrl'] = 'newsPage.php';

Hope that helps. Let me know if you need any more help. :)
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] List view link are broken

By Mohaukla - January 8, 2008

Yes I had generated the news article first and had named it something else and then the list viewer.

So I just need to pay attention to the viewer URL that is generated in the options area and make sure I name the news page that name or at least make sure I name them the same.

Ok I guess that is a lot less complicated than I thought it would be.

Thanks Dave,
Michael Moyers



Owner of Just Rite Design Inc. A growing network of professionals in web design, graphic design, flash development, programming, and audio & video productions.



"Due to budget constraints, the Light at the end of the tunnel will be temporarily out!"