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
TOPIC: How add a link to the category the Vehicle manager
#9090
admin (Admin)
Admin
Posts: 4869
graph
User Offline Click here to see the profile of this user
How add a link to the category the Vehicle manager 3 Years, 3 Months ago Karma: 61  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?