 | |  |
 |

edandrea
User
Jul 14, 2008, 12:23 PM
Post #1 of 2
(148 views)
Shortcut
|
|
CMS- Record Num
|
Can't Post
|
|
Hello all again..... I have CMS latest version and in the middle of creating a site for a realtor. I have a featured listings page http://smoaklandco.com/ds_featured.php which almost displays fine. I had some records or listings in there previously that I had deleted and added more, however the record number starts at 4 instead of 1. <?php /* STEP 1: LOAD RECORDS - Copy this PHP code block to the TOP of your page BEFORE anything else. */ require_once "/home/content/s/m/o/smoaklandco/html/cmsAdmin/lib/viewer_functions.php"; list($customRecords, $customDetails) = getRecords(array( 'tableName' => 'custom', 'perPage' => '10', )); ?> <?php echo "<?xml version='1.0'?>\n"; ?> ---------------------------------- Start the Body----------------- <td> <p align="center"><b> <font class="resultsmapnumber" face="Verdana" size="1"><?php echo $customRecord['num'] ?></font></b></p> </td> -------------------------------------- Any way to correct this? Thanks in advance Regards Emil
|
|
|  |
 |

Jake
Staff
/ Moderator

Jul 14, 2008, 7:25 PM
Post #2 of 2
(135 views)
Shortcut
|
|
Re: [edandrea] CMS- Record Num
[In reply to]
|
Can't Post
|
|
Hi Emil, There isn't a way to do this within CMS Builder itself - the only way to do it would be to edit your database keys in your database directly, which can be dangerous and isn't recommended. Although record the number isn't starting from 1, this shouldn't affect your site adversely in any way. Let us know if you need anything else. ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|