[QUOTE=Rudi;37892]Hello Tim,

You need to modify this file: includes > classes > rlListings.class.php > public function getListingDetails

find and replace this line below:

PHP Code:
Only registered members can view the code
with:
PHP Code:
Only registered members can view the code
/QUOTE]

Hi Rudi, your code worked great. Almost perfect, there is only one draw back. The code did indeed show fields in order from top to bottom, but it also show fields with EMPTY value. Is there anyway we can still have this code show only fields with value, and in order from top to bottom?

Here is the code

foreach ($form as $gKey => &$group) {
if ($group['Fields']) {
foreach ($group['Fields'] as $fKey => &$value) {
if (!empty($value)) {
// if (!empty($value) && (!empty($listing[$value['Key']]) || $value['Type'] == 'bool')) {

$form[$gKey]['Fields'][$fKey]['source'] = explode(',', $listing[$value['Key']]);
$form[$gKey]['Fields'][$fKey]['value'] = $rlCommon->adaptValue(
$value,
$listing[$value['Key']],
'listing',
$listing['ID'],
true,
false,
false,
false,
$listing['Account_ID'],
'listing_form',
$listing['Listing_type']
);