Monday, March 31, 2008, 2:49:22 PM, [EMAIL PROTECTED] wrote:

> That displays the image, it's true, but when I try to include the page
> on another page (actually a training page, where you can come up with
> a diagnosis just by looking at the pictures), it won't, as the  
> variable isn't replaced with the static $Name.

instead of using Attach:Index/{$Name}/{$$newup_name} in the template,
you can get an entry without page variable if you use in the second form

(:input hidden {$$name} {$Name}:)

and in the template    Attach:Index/{$$name}/{$$newup_name}

But you are posting the second form first, so in the first template
write the extra line as

(:input hidden {$$$name} {$Name}:)

Then fox will post it as  (:input hidden {$$name} {$Name}:)
instead of trying to put a value to {$$name}.

Personally i would try to avoid posting forms, and rather add an
(:include ...:) which will include the second form in a new Diagnosis
page.


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to