The following piece of code will produce a simple link pointing to /index.php/Special_Your_Script where A Label will be readable by the user.
echo common::Link('Special_Your_Script','A Label');Will result in
<a href="<gpeasy_installation>/index.php/Special_Your_Script">A Label</a>Or
<a href="<gpeasy_installation>/index.php?r=Special_Your_Script">A Label</a>
If you have defined [Special:Special_Your_Script] in your plugin's Addon.ini file, then the php script you have associated with Special_Your_Script will be loaded.
echo common::Link('Special_Your_Script','A Label','cmd=do_something');Will result in
<a href="<gpeasy_installation>/index.php/Special_Your_Script?cmd=do_something">A Label</a>Or
<a href="<gpeasy_installation>/index.php?r=Special_Your_Script&cmd=do_something">A Label</a>
As you can see, the string cmd=do_something, is added to the link as part of the query string.
Passing HTML attributes to your links will be important for setting styles, ids, titles, etc.
echo common::Link('Special_Your_Script','A Label','','title="The Title"');Will result in
<a href="<gpeasy_installation>/index.php/Special_Your_Script" title="The Title">A Label</a>Or
<a href="<gpeasy_installation>/index.php?r=Special_Your_Script" title="The Title">A Label</a>
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More News
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using