[pmwiki-users] MakeLink and url arguments
EuGèNe Van den Bulke
eugene at boardkulture.com
Fri Mar 17 15:10:34 CST 2006
Patrick R. Michaud wrote:
> On Fri, Mar 17, 2006 at 09:28:48PM +0100, EuGeNe wrote:
>> Hi All,
>> In (:logbook:) I use MakeLink wherever I can but I don't know how to add
>> a url arguments properly ex.
>> MakeLink($pagename,$pagename,'[-]','',$fmt="<A class='async'
>> Would have href='http://site/Group/Page?log_month=200503' for a CleanUrl
>> PmWiki site but href='http://site/?n=Group.Page?log_month=200503' for
>> a standard installation ... which is not proper the ? in front of
>> log_month should be & in that case.
>> Is there any way to make MakeLink deal with additional url arguments?
> PmWiki allows either '?' or '&' to be used to separate arguments
> in a url. Thus
> both work the same for PmWiki. (Other applications might have
> problems with it, but then one wouldn't normally be using
> $PageUrl to send requests to other applications... :-).
the double ? didn't go down nicely ... found a way around it but was
wondering if there was a clean way to add arguments to Url ... not yet
... but I think we have a use case ;)
Cheers and thanks for your quick reply.
More information about the pmwiki-users