Registration - populating "GID" "Usertype" at point of registration (CB, JACL+) - Joomla! Forum - community, help and support
i have set 4 custom registration pages. using jacl+, have 3 types - architect, showroom , fabricator (gids - 26,27,28 respectively) - new users assigned - right administrator during approval process.
right now, when submit reg, pre-populates usertype = registered; gid = 18.
i see in registration form these hidden values:
there no usertype, i've added
, works.
so, if change to
i want user ided "architect gid "26" administrator doesn't need go in , select usertype. know type new user registration form use.
any idea on how work?
thanks,
amanda
right now, when submit reg, pre-populates usertype = registered; gid = 18.
i see in registration form these hidden values:
there no usertype, i've added
, works.
so, if change to
i want user ided "architect gid "26" administrator doesn't need go in , select usertype. know type new user registration form use.
any idea on how work?
thanks,
amanda
i've found line of code in com_comprofiler.php.
mosmakehtmlsafe($row);
$pwd = '';
$row->gid = $acl->get_group_id('registered','aro');
i don't want "registerd" default, want dynamic based on hidden form fields passed reg form.
i not php savvy enough yet know how write variables ... advice?
mosmakehtmlsafe($row);
$pwd = '';
$row->gid = $acl->get_group_id('registered','aro');
i don't want "registerd" default, want dynamic based on hidden form fields passed reg form.
i not php savvy enough yet know how write variables ... advice?
Comments
Post a Comment