[pmwiki-users] fox redirect without creating a apge

noskule at gmx.net noskule at gmx.net
Sat Jan 10 08:00:53 CST 2009


noskule at gmx.net wrote:
> hi hans
> I upgraded fox from 2008-07-19 to 2008-11-26. Since then, the form below 
> don't redirect anymore but gives me the error "Error: no target 
> specified!" What can I do to make it woring again?
> Thanks for any hints
> nos
>
> (:fox newpage 
> redirect={$?targetgroup}/{$$Name}?action=foxedit&form=PageForm.{$?pagetype} 
> :)
> (:messages:)
> ||class="standard border"
> ||Editgroup: ||{$?targetgroup} ||
> ||Pagetype ||{$?pagetype} ||
> ||Page Name ||(:input text Name size=18:)
> || || (:input submit post "$[Create]":)||
>
> (:foxend newpage:)
>
>
>   

Ah I found someting:

(:fox gotonewpage foxaction=display redirect=1 template=0 
target="{$?targetgroup}/{$$Name}?action=foxedit&form=PageForm.{$?pagetype}" 
:)
(:messages:)
||class="standard border"
||Editgroup: ||{$?targetgroup} ||
||Pagetype ||{$?pagetype} ||
||Page Name ||(:input text Name size=18 class=js_livesearch:)
|| || (:input submit post "$[Create]":)||

(:foxend gotonewpage:)



Ah, I found something, this redirects toonly group.name but cuts the  
get-vars, is there a way around this?



More information about the pmwiki-users mailing list