Hi,
For that in BookLibrary you need open file booklibrary.html.php, find function showInsertSubCategory
in it please find code
Code: |
<?php
if ( ($params->get( 'show_cat_pic')) && ($cat_all[$i]->image != "")) {?>
<img src="./images/stories/<?php echo $cat_all[$i]->image;?>" alt="picture for subcategory" height="48" width="48" />
<?php
} else {?>
<img src="<?php echo $mosConfig_live_site; ?>/components/com_booklibrary/images/folder.png" alt="picture for subcategory" height="48" width="48" />
<?php }?>
</td>
|
and change it to
Code: |
<?php
if ( ($params->get( 'show_cat_pic')) && ($cat_all[$i]->image != "")) {?>
<a href="<?php echo sefRelToAbs( $link ); ?>" ><img src="./images/stories/<?php echo $cat_all[$i]->image;?>" alt="picture for subcategory" height="48" width="48" /></a>
<?php
} else {?>
<a href="<?php echo sefRelToAbs( $link ); ?>" ><img src="<?php echo $mosConfig_live_site; ?>/components/com_booklibrary/images/folder.png" alt="picture for subcategory" height="48" width="48" /></a>
<?php }?>
</td>
|
But at first please backup file
Thanks,
OrdaSoft team