View Single Post
Old 07.02.2007, 10:31   #31 (permalink)
andi.martin
Baby Mamber
 
Join Date: Feb 2007
Posts: 2
andi.martin is on a distinguished road
Default Re: Main Menu Image hack

Problem solved.

Ok, turns out that the extra <a href="..."> wasn't causing the problem, it was the spaces between the tags.

If you wish to remove the extra link tag...

Find
Code:
                     } else {
                                    $txt .= $image .'' . $txt;
And add a
Code:
;//
just after
Code:
."
and before
Code:
.$txt
NB - I have no idea as to the importance of this line, therefore, if all your other menus break, don't blame me! :p

The extra spacing was fixed by removing all the spaces from between the tags, try searching for " <" and " >".

Hope someone else finds this useful.

Cheers for the hack all!
andi.martin is offline   Reply With Quote
Sponsored Links