OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How add a link to the category the Vehicle manager (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How add a link to the category the Vehicle manager

admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
How add a link to the category the Vehicle manager 11 Years, 3 Months ago
Karma: 102  
Hi there
I want to add a link to the category onto the Vehicle manager category image also.
Please can you email me a file that enables me to do this? Or tell me what code to change?
See this link
www.nichomedia.co.uk/sobitest/index.php?...ories&Itemid=103
I have to click the category name to get to the category. I want to be able to click the image as well.
thanks in advance
Elliot


You need open file:
{site}/components/com_vehiclemanager/vehiclemanager.html.php
find function: showInsertSubCategory

find code:
Code:

<img src="./images/stories/<?php echo $cat_all[$i]->image; ?>" alt="picture for subcategory" height="48" width="48" />&nbsp;


and replace it to

Code:

<a <?php echo "href=" . sefRelToAbs($link); ?> class="category<?php echo $params->get('pageclass_sfx'); ?>" style="text-decoration: none"><img src="./images/stories/<?php echo $cat_all[$i]->image; ?>" alt="picture for subcategory" height="48" width="48" /></a>&nbsp;



Please backup your file firs

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