Welcome to Geeklog, Anonymous Sunday, July 21 2024 @ 12:09 am EDT

Geeklog Forums

Cool lib-common hack for help file in block header

Status: offline


Forum User
Regular Poster
Registered: 03/15/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
Text Formatted Code
            $help = '<a class="blocktitle" href="' . $helpfile
                . '" target="_blank"><img src="' . $helpimg
                . '" border="0" alt="?"></a>';
and change it to
Text Formatted Code
            $help = '<a class="blocktitle" href="' . $helpfile
                . '" target="_self"><img src="' . $helpimg
                . '" border="0" alt="?"></a>';


All times are EDT. The time is now 12:09 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content