Support » Plugins » Hacks » Links in Plugin

  • I am writing a plugin for the first time.

    The Plugin has a number of section – how do I have <a href= links in my plugin.

    I have a submenu appearsing under Pages. When you click on the submenu link it shows:

    Games | Teams | Players

    How do I link each of the above to call a separate function within the plugin?

    My google-fu has failed me.


Viewing 1 replies (of 1 total)
  • I solved it by doing this:

    $thispage = $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
    echo '<a href='.$thispage.'&tppage=teams>Team Names</a>';

    Is there a better way?

Viewing 1 replies (of 1 total)
  • The topic ‘Links in Plugin’ is closed to new replies.