Posted by Carlitus on November 10, 2008 at 1:05pm
I'm porting the Easy Image Insert to Drupal 6 but i'm having problems modifying the output of imagefield in the node form. I want to insert my code in the form but i don't know how with CCK 2.
I can modify the form using the form_alter but it seems there is a theme function that modifies the form after the form_alter and i don't know how to change this.
In the imagefield_widget.inc there is this function:
function theme_imagefield_widget(&$element) {
return theme('form_element', $element, $element['#children']);
}In the $element['#children'] there are some html ouput but i don't know how to chage it.
¿Can someone help me?
Comments
Im trying to figure this out
Im trying to figure this out too.
have you had any luck?
Well, the problem was that i
Well, the problem was that i didn't used the hook_theme to register my theme_ function
Web design Neurotic
Drupal Consulting Services in Barcelona & Tiendas Online Gorile