OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Remove Year of Issue and Mileage (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Remove Year of Issue and Mileage

rutger1973 (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Years, 7 Months ago
Karma: 0  
Hello,

I have the same issue for mileage. I followed your steps but the mileage still shows in administrator and on the front-end.
Also, I would like to know if there is a link 'Back to overview' on the detail page.

All assistence is appreciated.

Thanks,
Rutger
Logged Logged
The administrator has disabled public write access.
AnnaZh (Admin)
Admin
Posts: 226
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Kharkov, Ukraine
Re:Remove Year of Issue and Mileage 8 Years, 7 Months ago
Karma: 7  
Hi guys,

If you want to delete Year of issue and Mileage from All vehicles view:
ordasvit.com/joomla-vehicle-manager/inde...ault/209/all_vehicle

Please go to site/components/com_vehiclemanager/views/all_vehicle/tmpl/default.php
and there remove code like shown at attached image

Please do not forget to add
Code:

}  ?>


after removing the shown piece of code.

If you have any other questions, feel free to ask.

Best Regards,
Anna
ordasoft.com
Logged Logged
Last Edit: 2016/04/25 09:26 By AnnaZh. Reason: path to file
The administrator has disabled public write access.
AnnaZh (Admin)
Admin
Posts: 226
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Kharkov, Ukraine
Re:Remove Year of Issue and Mileage 8 Years, 7 Months ago
Karma: 7  
Dear Rutger,

Could you please clarify where exactly do you want to have link 'Back to overview'?
Screenshot or link on website may be helpful.

Best Regards,
Anna
ordasoft.com
Logged Logged
Last Edit: 2016/04/25 08:01 By AnnaZh.
The administrator has disabled public write access.
rutger1973 (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Years, 7 Months ago
Karma: 0  
Hi Anna

On the detailpage I would like to have a link that goes back to the overview page (depending on where the visitor came from).

testeenwebsite.nl/Cruiser/Crownline-testboot

Furthermore:
- Where can I remove the tab 'contact agent'
- Where can I change the car icon image?

Thanks

*edit* I have just tried to find the default.tmpl file to remove the mileage but unfortunately, the path you mentioned does not exist in my component directory.
Logged Logged
Last Edit: 2016/04/25 08:18 By rutger1973.
The administrator has disabled public write access.
AnnaZh (Admin)
Admin
Posts: 226
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Kharkov, Ukraine
Re:Remove Year of Issue and Mileage 8 Years, 7 Months ago
Karma: 7  
I've just corrected path to file, please try go to
site/components/com_vehiclemanager/views/all_vehicle/tmpl/ and change there default.php

Back button you can set in Menu Manager -> Edit Menu Item, tab Params. There please enable Back Button.

1) To remove Contact Agent, please go to site/components/com_vehiclemanager/views/view_vehicle/tmpl/ and in file default.php remove code:

Code:

   <li><a href="#" rel="country8">
                      <?php 
                      if($vehicle->listing_type == 1){
                        echo _VEHICLE_MANAGER_LABEL_BUTTON_RENT_REQU_SAVE ;
                      }else{
                        echo _VEHICLE_MANAGER_LABEL_CONTACT_AGENT ;
                      }?>
                      </a>
                  </li>



2) In the same file you can also change the icon of can. For this please find there
Code:

fa fa-car 
and change it to any icon from
fortawesome.github.io/Font-Awesome/icons/

If you have other questions, please ask.

Best Regards,
Anna
ordasoft.com
Logged Logged
The administrator has disabled public write access.
Go to top
»