Status: offline

tgc

Forum User
Regular Poster
Registered: 15/03/06
Posts: 82
I never liked it when you click on the help icon of the block header (in case you cared to put a link in) and the link opens in a new window. If you use a static page as a help file, then you want to have it open within your page (at least I do).
So here is my first geeklog hack:
Open lib-common.php and go about to line 1292
PHP Formatted Code
{
            $help = '<a class="blocktitle" href="' . $helpfile
                . '" target="_blank"><img src="' . $helpimg
                . '" border="0" alt="?"></a>';
        }
 
and change it to
PHP Formatted Code
{
            $help = '<a class="blocktitle" href="' . $helpfile
                . '" target="_self"><img src="' . $helpimg
                . '" border="0" alt="?"></a>';
        }
 

Enjoy/Frank