OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to remove fields from Vehicle discription (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How to remove fields from Vehicle discription

jquesada (Visitor)
Posts: 0
graphgraph
User Offline
How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 0  
I would like for certin field not to show up under a vehicles discription page. The ones circled (in RED) in the screen shot are the ones i do not want to display, can this be done and how. Thanks
Logged Logged
The administrator has disabled public write access.
jquesada (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 0  
Bump, i have the pro version.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 101  
Hello,

For remove some values from frontend show will need edit file vehiclemanager.html.php in it function "displayVehicle"

In it in yours case need change:
code:
Code:

<?php }      if(trim( $vehicle->vcondition)){ ?>

to
Code:

<?php }      if(trim( $vehicle->vcondition) === "123"){ ?>


remove code:
Code:

    <tr bgcolor = "#cccccc">
      <td>
        <strong><?php echo _VEHICLE_MANAGER_LABEL_LISTING_TYPE; ?></strong>
      </td>
      <td align="left">
        <strong><?php echo $vehicle->listing_type; ?></strong>
      </td>
    </tr>



change code:
Code:

<?php if(trim($vehicle->price_type)){  ?>

to
Code:

<?php if(trim($vehicle->price_type) === "123"){  ?>


Thanks,
OrdaSoift team
Logged Logged
The administrator has disabled public write access.
jquesada (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 0  
That worked great on the front end!

I would also like to remove fields from the admin section as well, sense they will not be used. I have attach some pictures, the ones circled in RED, i do not want. Can they be removed?

Thank you again.
Logged Logged
Last Edit: 2010/10/11 16:32 By .
The administrator has disabled public write access.
jquesada (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 0  
Image1
Logged Logged
Last Edit: 2010/10/11 16:36 By .
The administrator has disabled public write access.
jquesada (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 13 Years, 5 Months ago
Karma: 0  
image 2
Logged Logged
The administrator has disabled public write access.
Go to top
»