Skip to main content
improved formatting
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}
function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
    'user_profile_form' => array(
      // …
    ),
  );
}

See also issue at d.oTheme Profile2 Form and similar question at stackexchange, a support request opened for the Profile2 module.

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}

See also issue at d.o and similar question at stackexchange.

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
    'user_profile_form' => array(
      // …
    ),
  );
}

See Theme Profile2 Form, a support request opened for the Profile2 module.

replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
Source Link

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}

See also issue at d.o and similar question at stackexchangesimilar question at stackexchange.

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}

See also issue at d.o and similar question at stackexchange.

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}

See also issue at d.o and similar question at stackexchange.

Source Link

You should use form_id as theme key in hook_theme(), which is user_profile_form in the case.

function MYTHEME_theme(&$existing, $type, $theme, $path) {
  return array(
      'user_profile_form' => array(
          .
          .
          .
      ),
  );
}

See also issue at d.o and similar question at stackexchange.