We have 199 guests and 1 member online
OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to remove fields from Vehicle discription (1 viewing) (1) Guest
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: How to remove fields from Vehicle discription
#1197
jquesada (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
How to remove fields from Vehicle discription 1 Year, 7 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 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 1 Year, 7 Months ago Karma: 0  
Bump, i have the pro version.
 
Logged Logged  
  The administrator has disabled public write access.
#1202
admin (Admin)
Admin
Posts: 1679
graph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 1 Year, 7 Months ago Karma: 17  
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 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 1 Year, 7 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 11:32 By jquesada.
  The administrator has disabled public write access.
#1212
jquesada (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 1 Year, 7 Months ago Karma: 0  
Image1
 
Logged Logged  
 
Last Edit: 2010/10/11 11:36 By jquesada.
  The administrator has disabled public write access.
#1213
jquesada (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 1 Year, 7 Months ago Karma: 0  
image 2
 
Logged Logged  
  The administrator has disabled public write access.
Go to top