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

neochief’s picture

>> It's all because '#suffix' => ''

div missing because of drupal's filter, but you should understand me anyway

neochief’s picture

So, any suggestions?

neochief’s picture

Status: Active » Closed (fixed)
rgracia’s picture

I have the same problem. I would love to add this module to our site but it breaks when on edit mode.

rgracia’s picture

Status: Closed (fixed) » Active

What was the resolution to this problem? Why was it closed?

rgracia’s picture

Status: Active » Closed (fixed)

Commenting the line resolves the issue;

// '#suffix' => '

'