[pmwiki-users] fox: redirect & input default request=1

Hans design5 at softflow.co.uk
Sat Jan 10 09:34:32 CST 2009


Saturday, January 10, 2009, 2:49:31 PM, noskule at gmx.net wrote:

> hi hans
> Is it possible to use foxforms with the request=1 parameter?
> It don't work with the both forms below, do you have any ideas?
> thanks for any hints
> nos

> (:fox pagelistconfig foxtemplate="" redirect=1:)
> Pagetypes:\\
> (:input hidden pagetype {$showpagetype[]}:)
> (:input default request=1 :)
> ||
> ||Article ||(:input checkbox showpagetype[] Article:) ||
> ||Blog ||(:input checkbox showpagetype[] Blog:) ||
> ||Issue ||(:input checkbox showpagetype[] Issue:) ||
> ||Comment ||(:input checkbox showpagetype[] Comment:) ||

> (:input submit post:)
> (:foxend pagelistconfig:)
> (:pagelist group={*$Group} $:pagetype={$$showpagetype}:)



> (:fox pagelistconfig foxtemplate=""
> redirect={*$FullName}?showpagetype={$$showpagetype}:)
> Pagetypes:\\
> (:input hidden pagetype {$showpagetype[]}:)
> (:input default request=1 :)
> ||
> ||Article ||(:input checkbox showpagetype[] Article:) ||
> ||Blog ||(:input checkbox showpagetype[] Blog:) ||
> ||Issue ||(:input checkbox showpagetype[] Issue:) ||
> ||Comment ||(:input checkbox showpagetype[] Comment:) ||

> (:input submit post:)
> (:foxend pagelistconfig:)

> (:pagelist group={*$Group} $:pagetype={$?showpagetype}:)

perhaps because you have no target= parameter specified?
You can just add target={*$FullName} to the fox markup.


  ~Hans




More information about the pmwiki-users mailing list