[pmwiki-users] fox: foxxadd and layout vars

Hans design5 at softflow.co.uk
Thu Jan 8 11:59:59 CST 2009


Thursday, January 8, 2009, 4:56:57 PM, noskule at gmx.net wrote:

> I use the form below to create a couple of pages, this works as long as
> I use only one layout-variable  inside the foxadd markup.

> Example (works)
> (:foxadd GroupTemplate.PageForm-Content=>PageForm.{$$targetpagetype}:)

> Example (don't work)
> (:foxadd
> GroupTemplate.PageForm-{$$pagetypetype}=>PageForm.{$$targetpagetype}:)

I think it does already fail as markup, i.e. it won't get rendered
into an input element, because of the regex used to match the left
side.
Perhaps try this syntax (put markup on one line):

(:foxadd template=GroupTemplate.PageForm-{$$pagetypetype}
target=PageForm.{$$targetpagetype} :)


  ~Hans




More information about the pmwiki-users mailing list