[pmwiki-users] Is there a way to tell foxdelete where to redirect?

Randy randy at brownragfilms.com
Sat Mar 22 04:49:49 CDT 2008


Thanks, Hans. Unfortunately, it didn't work. Here's what I did:

I changed the form's template to:

(:foxtemplate "|[[~{$$author}]]: {$$comment} |(:if author {$$author}:) 
{[foxdelline base={*$FullName}?page={$?page}]}(:if:)":)

I then went to the "page 4" section within MyControllerPage and added  
a comment using the form.

The markup generated by the form was:

{[foxdelline 1206178126a20387b0 {$FullName} base={*$FullName}?page={$? 
page}]}

When I view the page, instead of "delete" I see a button that says  
"base=MyGroup.MyControllerPage?page=4". And when I press that button,  
it deletes the comment, and returns the user to the default page (1)  
instead of page 4.

Randy


On Mar 22, 2008, at 4:16 AM, Hans wrote:

> Saturday, March 22, 2008, 8:33:14 AM, Randy wrote:
>
>> Is there a way to specify where foxdelete redirects the user after  
>> the
>> user presses the delete button?
>
> you can try and to set an option base=RedirectPageName
> as a redirect target.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080322/bc984f5c/attachment.html 


More information about the pmwiki-users mailing list