This function is identical to addButton, except it adds a link to the bottom of the list of links in the Page Information section of the standard wiki footer. (See examples in the Page Information section of this page!)
To use this function include the following code on your page (or your SideBar, for all pages):
<script>
widget.addPILink("link text","link url","optional attributes");
</script>
like so:
<script>
widget.addPILink("Edit Tags","/tags.php?pedit=" + widget.pageName);
</script>
or this:
<script>
widget.addPILink("Edit Tags","/tags.php?pedit=" + widget.pageName,"onmouseover=\"javascript:alert('Clicking that link in the footer will edit the tags for this page. Except that this popup will not let you.')\"");
</script>
If you don't know what "optional attibutes" are, then don't use them. Just pass the first two parameters.
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |