[dokuwiki] Re: Blocking the resendpwd and register links in html_login()

Michael Klier wrote:
On Mon, Nov 16, 2009 at 03:40:23AM +0000, Iain Hallam wrote:
I've added a fieldset above the normal login form using an action plugin, but I would like the register and resendpwd links to appear inside the fieldset of the normal login form, rather than below it.

which event do you use for your action plugin? I take it, you didn't use
HTML_LOGINFORM_OUTPUT [1]. This event gives you a form object which is
flexible enough to add/rearrange elements of the login form.

That's exactly the event I use; however, html_login() adds the register and resetpwd links after it has done the form bits so they are never included in the form section. Perhaps they ought to be added inside the form as elements in their own right? That would require a patch to inc/html.php, though.

- Iain.
--
w: http://nineworlds.deviantart.com/
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: