Closed (fixed)
Project:
Content Profile
Version:
6.x-1.0-beta3
Component:
User registration module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 09:40 UTC
Updated:
15 Sep 2009 at 16:07 UTC
Hi,
i'm using content profile with some fields.
The module works in registration form with Logintoboggan and Captcha module.
The problem is that the group of content profile fields are displayed ABOVE the UserName, E-mail and password (logintoboggan) fields.
I tried to change weight values in system table with many values combinations, without success.
How can i display this before the content profile fields? What values can I set for weight?
Thanks!
P.S.: sorry for my bad english!
Comments
Comment #1
merto87 commentedI've resolved with a little patch.
The weight module is IGNORED because the array $form[$key] is overwrited.
The code is:
@line 34 in cp/module/content_profile_registration.module:
$form[$key] = $node_form[$key];in
$form[$key][] = $node_form[$key];The weight system value is now respected.
Is it a bug?
Comment #2
merilainen commentedI changed my value from
$form[$key] = $node_form[$key];to
$form[$key][] = $node_form[$key];and it seems to be working.
Are there any other problems which might occur from this change in the code?
Comment #3
fagoClosing old issue, please reopen if the problem persists.