To clarify - do you want the form itself to display the page name, or the created page to contain the page name, or both? And in either case, why?


On Sun, Aug 16, 2009 at 10:31 PM, John McClure <jmcclure@hypergrove.com> wrote:
A bit more information:
When the form contains template invocation: {{template:Test|{{PAGENAME}}}} and template:test contains "The page is {{{1}}}" then all I'm getting when creating page Vcb is:
I note that this problem comes up in the <includeonly> section of the form. The same content, in the <noinclude> section of the form reports correctly that the {{PAGENAME}} is X (from Form:X), but in the <includeonly> section I get this problem.
I didn't really understand the 'query' param on the {{{forminput}}}. Maybe that's part of the answer?
-----Original Message-----
From: John McClure [mailto:jmcclure@hypergrove.com]
Sent: Sunday, August 16, 2009 6:18 PM
To: semediawiki-user@lists.sourceforge.net
Subject: Form & {{PAGENAME}}

When editing a page with Form:X, the magic word {{PAGENAME}} doesn't seem to work as expected. I'm guessing it's because "AddData" is somehow involved, obscuring the  {{PAGENAME}} being edited. Is there a workaround for this so that my form can find out the name of the underlying page being edited (or created)?

Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Semediawiki-user mailing list