CMS- Record Num
2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 14, 2008 (RSS)
By edandrea - July 14, 2008
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
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
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
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
Re: [edandrea] CMS- Record Num
By Jake - July 14, 2008
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. [:)]
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 Marvin - 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.
Cheers,
Jake Marvin - 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.