[pmwiki-users] How to create a link?
Joachim Durchholz
jo at durchholz.org
Fri May 6 14:25:59 CDT 2005
Hi all,
I'm writing PHP code that needs to emit a link to a page.
I want to emit an ordinary intra-wiki link, with the addition of an
?action=someaction parameter.
From reading http://www.pmwiki.org/wiki/Cookbook/Functions it seems
that MakeLink($pagename, $tgt, $txt, $suffix, $fmt) is the right one,
with these parameter values:
$pagename = global $pagename
$tgt = SomePage
$suffix = ???
$fmt = ???
Now here's the questions:
1) what should go into $suffix and $fmt?
2) where do I put the ?action=myaction part of the URL?
Appreciative of any answers :-)
Regards
Jo
More information about the pmwiki-users
mailing list