images showing in list view but not in page view
4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 12, 2008 (RSS)
By Chris_t - February 12, 2008
I placed it in the area I wanted and it looks great, but when I click on a players name and it goes to display his page I get a "No record found!error" in that box.
http://www.ragefootball.com/test/playerList.php
Try clicking on any "read more" and you get this error.
I have on that page just a bit under the vs box on that has upcoming events and that displays great in any view.
Thanks for any help
Chris
Re: [ChrisTitchenal] images showing in list view but not in page view
By Dave - February 12, 2008 - edited: February 12, 2008
If it's a page viewer try hardcoding the record number you want it to load, like this:
$options['recordNum'] = '1';
Let me know if that works for you.
interactivetools.com
Re: [Dave] images showing in list view but not in page view
By Chris_t - February 12, 2008
I tried that and now get this error " getuploads: no 'recordNum' value specified!" on the part of the page that would normally come up with the page information.
thanks for your fast reply and hope this gets figured out by you or me
Chris
Re: [ChrisTitchenal] images showing in list view but not in page view
By Dave - February 12, 2008
<?php foreach (getUploads($options['tableName'], 'uploads', $record['num']) as $upload): ?>
To this:
<?php foreach (getUploads($options['tableName'], 'uploads', 1) as $upload): ?>
The basic idea is that we're tell it exactly what record number to load rather than getting that information from the url.
Let me know if that works for you.
interactivetools.com