[joomla] K2 registration fields
Donna Marie Vincent
donnamarievincent at yahoo.com
Sat Feb 27 11:33:15 EST 2010
To clarify, I meant relabeling the existing fields, so user sees "co. name and address" instead of "description", etc.
________________________________
From: Donna Marie Vincent <donnamarievincent at yahoo.com>
To: NYPHP SIG: Joomla <joomla at lists.nyphp.org>
Sent: Sat, February 27, 2010 11:31:58 AM
Subject: Re: [joomla] K2 registration fields
I can get by with just renaming the existing fields. That *should* be simpler.
________________________________
From: Gary Mort <garyamort at gmail.com>
To: NYPHP SIG: Joomla <joomla at lists.nyphp.org>
Sent: Sat, February 27, 2010 11:14:13 AM
Subject: Re: [joomla] K2 registration fields
They can't. :-(
If you can't get by with what they give you... I REALLY recommend switching to a different user registration package.
If you MUST use K2, you will need to make changes in the following areas:
1) System plugins: K2 uses system plugins to detect when a new user is registering and modify the registration form to add their fields
2) User plugins: K2 uses the user registration event to then grab it's own fields[see system plugin above] and add that data to it's database
3) K2 user controller, model, and views: K2 information which is displayed to the user, searches, etc are all done in this code.
The upside of K2 is it has a very nice ACL system for itself which is all leveraged off it's user system
The downside of K2 is that even if you neutar the user stuff and use something else, you still need part of it to handle the user groups for the acl.
On Fri, Feb 26, 2010 at 11:49 PM, Donna Marie Vincent <donnamarievincent at yahoo.com> wrote:
Hi, all. I'm using K2 for the first time. I don't see where the user registration fields can be modified or controlled. Are you supposed to do it in the code or through the admin?
>
>
>_______________________________________________
>>New York PHP SIG: Joomla! Mailing List
>http://lists.nyphp.org/mailman/listinfo/joomla
>
>>NYPHPCon 2006 Presentations Online
>http://www.nyphpcon.com
>
>>Show Your Participation in New York PHP
>http://www.nyphp.org/show_participation.php
>
--
----
Hudson Valley Sudbury School
What GPL is for application users
Our school is for students
Help your children grow, change, and learn
Let your child direct, control, amend
Check out http://www.sudburyschool.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20100227/7384ff6c/attachment.html>
More information about the Joomla
mailing list