[joomla] Removing name field from user registration
Donna Marie Vincent
donnamarievincent at yahoo.com
Mon May 24 10:20:50 EDT 2010
I would make it a hidden field on the form and give it a value, like "User". The name can be duplicated, it's the username that has to be unique.
________________________________
From: Mark Simko <masimko at verizon.net>
To: joomla at lists.nyphp.org
Sent: Mon, May 24, 2010 9:58:15 AM
Subject: [joomla] Removing name field from user registration
I've spent the better part of a weekend tracing through the convoluted mess of MVC coding, trying to remove the required name field from the user registration component.
There are several recent posts on the Joomla forums looking for a
solution to this exact problem (removing the name field from
registration). There are no posted solutions.
Gary had suggested that I create my own registration form, but there are so many links to the registation page throughout the site that I felt this was impractical.
I've removed the input field from the form, but the validation process spits back a request for the name field to be filled in. I've tried to trace back where this gets validated. It looks like somewhere there is a validate.js file, but I cannot find it. It is possibly part of mootools.
So now this is what I think I am going to do. I'll go back into the form and assign a value for the name field - something generic like 'left blank'. However, this is something that may be overwritten with a Joomla update, so it would be best to do this as a template override if possible.
Any thoughts on template overrides? Where to put it, how to structure it.
Any thoughts on the original track, which was to eliminate validation of the name field? How it gets requested. Changes that I might be overlooking such as in an xml file or class file.
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20100524/7c89f26b/attachment.html>
More information about the Joomla
mailing list