I just tried out this module. My scenario: when I click on Edit (user//edit), I will be on the Account tab of Drupal core. With the Content profile module having installed, I have to click on another tab (User profile at user//edit/profile) to be able to edit these data. A lot of users want to ged rid of the user edit data distribution over 2 tabs.

With this module installed, there are still these two tabs. The first one (Edit) didn't change at all, while the second one (User profile) now additionally contains a duplicate of the first tab's content. So this module currently adds confusion and redundant fields instead of doing the opposite way: remove the second tab and provide all edit data on one single tab (user//edit). Until this is possible, this module is useless IMO.

Thanks for consideration.

Comments

kenorb’s picture

I've done it by adding hook_init as follows:

/**
 * Implementation of hook_init().
 */
function account_profile_init() {
  if (arg(0) == 'user' && !arg(2) && arg(1) <> 'register' && is_numeric(arg(1))) {
    drupal_goto("user/" . arg(1) . "/edit/profile");
  }
}

which will do redirect.
Temporary you can paste it into module file (.module).

I'll implement it into module as an extra option soon.

einkahumor’s picture

Pasting this on the bottom of the account_profile.module file makes it impossible to view the users pages on the site I'm working on because /user/# redirects to /user/#/edit/profile but as I understand what you are trying to do here is to redirect /user/#/edit to /user/#/edit/profile.

I agree with roball, it would seem to make more sense integrating the profile form into the user edit form than to do it the other way around like this module does. Ideally the module would have a settings page where you could select which profile types should be integrated on the user/#/edit form and in what order. Or there could be an extra option for "Integrate to user edit form" (in the "Profile edit tab" radio selection) in the Content Profile settings for each content (profile) type.

AdrianB’s picture

Yeah, I was under the impression that I would get the content profile fields on the user edit page, otherwise I have no use of this module.

kenorb’s picture

Status: Active » Fixed

Done some improvements, added redirect and added some settings in admin page.
Please test it now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.