Hello
1. for change some layout in
Joomla Vehicles - you need know PHP, HTML
2. Every time do backup
3. We may propose to you order this as "customization service".
Please write to OrdaSoft contact form (
ordasoft.com/contact-us-form) with full details description, how all must look and work, and we will give to you quota.
For change this You need change View, Please with FTP go to
{your-site}/components/com_vehiclemanager/views/alone_category/tmpl
There find file "default.php" -
Please backup it first!!!!
open as edit
find code:
Code: |
if ( trim($row->mileage) !== '' && intval($row->mileage) !== 0 ) { ?>
<div class="vm_text" >
<i class="fa fa-tachometer"></i>
<span><?php echo _VEHICLE_MANAGER_LABEL_MILEAGE; ?>:</span>
<span><?php echo trim($row->mileage); ?></span>
</div>
<?php } ?>
|
and replace to code like:
Code: |
if ( trim($row->mileage) !== '' && intval($row->mileage) !== 0 ) { ?>
<div class="vm_text" >
<i class="fa fa-tachometer"></i>
<span><?php echo _VEHICLE_MANAGER_LABEL_MILEAGE; ?>:</span>
<span><?php echo trim($row->mileage); ?></span>
</div>
<?php }
$transmission[0] = _VEHICLE_MANAGER_OPTION_SELECT;
$transmission1 = explode(',', _VEHICLE_MANAGER_OPTION_TRANSMISSION);
$i = 1;
foreach ($transmission1 as $transmission2) {
$transmission[$i] = $transmission2;
$i++;
}
if ($row->transmission != 0) {
?>
<div class="vm_text" >
<i class="fa fa-tachometer"></i>
<span><?php echo _VEHICLE_MANAGER_LABEL_TRANSMISSION_TYPE; ?>:</span>
<span><?php echo $transmission[$row->transmission]; ?></span>
</div>
<?php
} ?>
|
If nothing not work - please return backup copy
Regards
OrdaSoft team