Hi,
I would like to displays sponsors.
Some of them do not have websites, so I was wondering it it was possible not to fill the field related to the website link ?
Any help is appreciated,
whoaloic
Hi,
I would like to displays sponsors.
Some of them do not have websites, so I was wondering it it was possible not to fill the field related to the website link ?
Any help is appreciated,
whoaloic
Oops, I'm sorry, I have not enter a correct topic title (it would have been "Unlink image where there is not link").
When I use secondary adress and I leave an empty field, the name in not a link but the image is a link.
Please is there a solution.
I've found a solution :
I had to change link-library.php file around line 4428 :
case 1: //------------------ Image Output --------------------
if ( (($linkitem['link_image'] != '' || $usethumbshotsforimages)) && ($show_images)) {
$imageoutput = stripslashes($beforeimage) . '<a href="';
if ($sourceimage == 'primary' || $sourceimage == '') {
$imageoutput .= $the_link;
$imageoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link ' . ( $linkitem['link_featured'] ? 'featured' : '' ). '" ' . $rel . $title . $target. '>'; }
elseif (($sourceimage == 'secondary') && ($the_second_link != '#')) {
$imageoutput .= $the_second_link;
$imageoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link ' . ( $linkitem['link_featured'] ? 'featured' : '' ). '" ' . $rel . $title . $target. '>'; }
elseif (($sourceimage == 'secondary') && ($the_second_link == '#')) {
$imageoutput = '';
}
and around line 4466 :
if (($sourcename == 'primary' && $the_link != '#') || ($sourcename == 'secondary' && $the_second_link != '#')) {
$imageoutput .= '</a>' . stripslashes($afterimage);
}You must log in to post.