Customize Edit and Add Course Node Form

aaron.thomas
Forums
I am fairly new to opigno. I would like to customize how the add/edit course form is laid out. Have tried drupal_get_form with no luck and other methods. I have also search everywhere on google. $form = drupal_get_form("course-node-form", $node_form); print drupal_render($form); Please help!
aaron.thomas

Still need help...

Not sure if there is anyone that can help?
Profile picture for user James Aparicio
James Aparicio

Hi aaron.thomas,

Hi aaron.thomas,

You need to implement hook_form_alter or hook_form_BASE_FORM_ID_alter (specifically hook_form_node_form_alter)

BR