Saturday, July 21, 2007, 1:18:55 PM, [EMAIL PROTECTED] wrote:
> A problem arises as I switch to the (:newpagebox:) markup needed to
> properly create a new page.
> It seems that (:newpagebox:) markup, differently from the plain
> (:input:), does not (yet?) allows for the id="" and name="" parameters
> which are necessary to couple the calendar with the input field.
> Does anybody have a hint, a workaround for this or, better, a way to
> enable both parameters in NewPageBox[Plus] as well, please?
newpageboxplus.php defines the form within the script, so you would
need to hack the script to add id='' and name='' to the
<form .... > tag (ca. line 57).
You could try and change this line to:
$out = "\n <form id='{$opt['id']}' name='{$opt['name']}' class='newpage'
action='{$PageUrl}' method='post'>
and then define id= and name= inside the (:newpagebox ... :) markup.
Mind that this will then require id=something name=something in the
markup! To make it truly optional would need some conditionals in the
script.
I did not understand why you need id and name in the form tag, so I
have no plans to change the script at this point, to provide these
options.
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users