Hello.
I've installed module and all are fine except that slideshow fieldset is braking node editing form. It's all because '#suffix' => '
'. Can you tell me, what for you put that suffix there??? :)
$form['slideshow'] = array(
'#type' => 'fieldset',
'#access' => user_access('attach images as slideshow'),
'#title' => t('Slideshow settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#description' => t('Attached images are displayed in the form of a slideshow.'),
'#weight' => 35,
<b> '#suffix' => '</div>',</b>
'#tree' => TRUE,
);
I suggest to remove that suffix to fix the form
Comments
Comment #1
neochief commented>> It's all because '#suffix' => ''
div missing because of drupal's filter, but you should understand me anyway
Comment #2
neochief commentedSo, any suggestions?
Comment #3
neochief commentedComment #4
rgracia commentedI have the same problem. I would love to add this module to our site but it breaks when on edit mode.
Comment #5
rgracia commentedWhat was the resolution to this problem? Why was it closed?
Comment #6
rgracia commentedCommenting the line resolves the issue;
// '#suffix' => '
'