Posted By

fadehelix on 12/30/10


Tagged

template drupal


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Onfire60


Drupal - Fieldset Menu always expanded and different max length of menu title field


 / Published in: PHP
 

URL: http://stackoverflow.com/questions/2840588/drupal-how-to-set-collapsed-property-for-edit-content-fields

  1. function phptemplate_node_form($form) {
  2. $form['menu']['#collapsed'] = false;
  3. $form['menu']['link_title']['#maxlength'] = 300;
  4.  
  5. return drupal_render($form);
  6. }

Report this snippet  

You need to login to post a comment.