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
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 5 Months ago
Karma: 0  
admin wrote:
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


Thank you very much for all of you help.

I only have one more question:How can I change the Column title from Category to Mileage?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:How to hide the 'Hits' on the Vehicle Inventory? 11 Years, 5 Months ago
Karma: 102  
Hello,

If you open file
{yours site}/components/com_vehiclemanager/views/alone_category/tmpl/default.php
Please check name "default.php" as me seem you not have list.php

You will see it have thee parts: top, content and bottom

In top we show column title, for category that look like:
Code:

                        <td width="15%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
                    <?php echo _VEHICLE_HEADER_CATEGORY; ?>
                        </td>



All other full exactly.

so you need replace <
Code:

?php echo _VEHICLE_HEADER_CATEGORY; ?>
to
Code:

Mileage


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