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
TOPIC: How to remove fields from Vehicle discription
#1197
jquesada (Visitor)
Fresh Boarder
Posts: 16
graphgraph
User Offline
How to remove fields from Vehicle discription 5 Years, 11 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.
#1201
jquesada (Visitor)
Fresh Boarder
Posts: 16
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 5 Years, 11 Months ago Karma: 0  
Bump, i have the pro version.
 
Logged Logged  
  The administrator has disabled public write access.
#1202
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 5 Years, 11 Months ago Karma: 61  
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.
#1211
jquesada (Visitor)
Fresh Boarder
Posts: 16
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 5 Years, 11 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.
#1212
jquesada (Visitor)
Fresh Boarder
Posts: 16
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 5 Years, 11 Months ago Karma: 0  
Image1
 
Logged Logged  
 
Last Edit: 2010/10/11 16:36 By .
  The administrator has disabled public write access.
#1213
jquesada (Visitor)
Fresh Boarder
Posts: 16
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 5 Years, 11 Months ago Karma: 0  
image 2
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?