viewscarousel_get_settings() sets the default of first_node to true, yet there is no way in the interface to set this value.
So you get a weird node stuck in the view for no apparent reason.

CommentFileSizeAuthor
#2 jcarousel_first_node_setting.patch1.02 KBneclimdul

Comments

mogtofu’s picture

Status: Active » Patch (to be ported)

Got the same issue.

Problem come form lack of option in the module, juste add this on the function viewscarousel_setup_form :
- line 11 - insert -

  $form['carousel_settings']['first_node'] = array(
    '#title' => t('Show first node'),
    '#default_value' => $settings['first_node'],
    '#type' => 'select',
    '#options' => array(true => t('Yes'), false => t('No')),
    '#description' => t('Show the content of the first node above the carousel.'),
  );

regards.

neclimdul’s picture

Status: Patch (to be ported) » Reviewed & tested by the community
StatusFileSize
new1.02 KB

patch. I chose to go with a checkbox though since it was consistent with the other options.