Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
AaronBaumanFirst, 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.