I am having trouble getting this to work on my theme. It works fine on Garland, however.

After troubleshooting I see that calling the below code in template.php breaks dependent fields.
Removing the code allows functionality to work perfectly on my theme, but I am unable to customize the profile-node-form page without using the .tpl.php

From template.php:

function mytheme_theme() {
  return array(
    'profile_node_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'profile-node-form',
    ),
  );
}

Could anyone give me any pointers on this issue? I appreciate it.

Comments

AaronBauman’s picture

Category: bug » support

First, please try this patch:
http://drupal.org/node/624852#comment-2330950

If that doesn't work for you, please attach your profile-node-form template and any non-standard javascript you're using.
Also please report any relevant errors from php logs, watchdog, or javascript.