OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to hide the 'Hits' on the Vehicle Inventory? (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How to hide the 'Hits' on the Vehicle Inventory?

jeepstersllc (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 0  
I want to hide the 'Hits' column on my website that appears next to the vehicles in my inventory.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 102  
Hello,

You need in file:
{your site}/components/com_vehiclemanager/vehiclemanager.php

find code look like:
Code:

$params->def('hits', 1);


and replace it to
Code:

$params->def('hits', 0);


Please backup that file first

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
jeepstersllc (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 0  
Thank you!
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 102  
Hello,

You may vote for us on joomla.org and write excellent review

If you wil lhave some errors or questions - please write

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
jeepstersllc (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 0  
admin wrote:
Hello,

You may vote for us on joomla.org and write excellent review

If you wil lhave some errors or questions - please write

Thanks,
OrdaSoft team


I will be sure to. I have a request for my website. I'm not very familiar with PHP but here is what I am wanting:


I have gotten rid of the hits column. In the Category column I want to replace that with a "Show Me The Carfax Link". This link will take you to the specific vehicles carfax report just by simply using the the following code and replacing the desired vin:

<a href='www.carfax.com/VehicleHistory/p/Report.c...FA49S62P723388' target="blank"><img src='www.carfaxonline.com/img/resourcekit/ban...howMe_icon.gif' height='100' width='200' border='0' /></a>

Also right before that I want to have a column that displays the vehicle mileage.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 6 Months ago
Karma: 102  
Hello,

I ma sorry, on Forum we only give some advices, we can't change every site, that ask many many time for check and change.
You may order custom version with all change what you need with help OrdaSoft contact form.

for add your code in category column you need open file:
{yours site}/components/com_vehiclemanager/views/alone_category/tmpl/list.php

Find code:
Code:

                       <span class="col_12">
                            <a href="<?php echo JRoute::_($link1, false); ?>" class="category<?php echo $params->get('pageclass_sfx'); ?>">
                        <?php echo $row->category_titel; ?>

                            </a>
                        </span>


And replace it.


For show vehicle mileage
You need open file:
{yours site}/components/com_vehiclemanager/views/alone_category/tmpl/list.php
check how we show any other column, as example for category.

And replace that to mileage,

for category we show: $row->category_titel
You will need show:
$row->mileage

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»