[pmwiki-devel] More trouble with PageUrl

Hans design5 at softflow.co.uk
Sun May 6 07:16:42 CDT 2007


Sunday, May 6, 2007, 12:52:05 PM, Hans wrote:

>   <a class='foxdellink' href='{$PageUrl}?action=foxdelete.....'>

> These pages are listed with pagelist using fmt=#include.

> Now the links all point to the holding page with the pagelist.

I found a solution:

<a class='foxdellink' href='{$ScriptUrl}/{$targetname}?action=foxdelete...'>

$targetname is passed to the function, from a {$FullName} page
variable in the link markup. This being absolute the name refers to
the page the PV is in.

I am relieved, I had a nasty shock. Fox is cleverer than I thought.


Hans




More information about the pmwiki-devel mailing list