Hi Mat,
For change column order in vehicle manager you need in File:
{yours site}/components/com_vehiclemanager/vehiclemanager.html.php
in function:
displayVehicles
find row look like:
Code: |
<td width="10%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_COVER; ?>
</td>
<td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_TITLE;?>
</td>
<td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_MODEL;?>
</td>
|
and replace to:
Code: |
<td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_MODEL;?>
</td><td width="10%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_COVER; ?>
</td>
<td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo _VEHICLE_MANAGER_LABEL_TITLE;?>
</td>
|
and find row:
Code: |
<td>
<?php if ($row->maker == '' || $row->maker == 'other')
echo $row->vmodel;
else
echo $row->maker, ', ', $row->vmodel; ?>
</td>
|
and move that little at top, after rows:
Code: |
<tr class="<?php echo $tabclass[($g_item_count%2)]; ?>" >
<td style="padding-left:5px; padding-top:5px; padding-right:10px;">
|
But first please do file back up
Thanks,
Andrew