Hello All,

I'm trying to find the issue, but somehow i can't find it.
I have my Nivo Slider, but below the slider i also see the titles from my Feature Slider nodes:
slide1
slide2
slide3
slide4
slide5

HTML looks like this:

<div id="title-0" class="nivo-html-caption">
<a href="/slide1">slide1</a>
</div>

When i delete the Fields : Node:Title I get a Nivo Error...
I already tried "Exclude from display" in the views, but still i get the Titles.

$view = new view;
$view->name = 'featured_slider';
$view->description = 'Slider View';
$view->tag = 'slider';
$view->base_table = 'node';
$view->core = 0;
$view->api_version = '2';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 1,
      'path' => '[title]',
      'absolute' => 0,
      'link_class' => '',
      'alt' => '',
      'rel' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'hide_alter_empty' => 1,
    'link_to_node' => 0,
    'exclude' => 1,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
  'field_image_fid' => array(
    'label' => 'Image',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'image_plain',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_image_fid',
    'table' => 'node_data_field_image',
    'field' => 'field_image_fid',
    'relationship' => 'none',
  ),
  'field_link_url' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'url',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_link_url',
    'table' => 'node_data_field_link',
    'field' => 'field_link_url',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'featured_slider' => 'featured_slider',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('style_plugin', 'views_nivo_slider');
$handler->override_option('style_options', array(
  'imagefield_preset' => 'slider',
  'style' => 'none',
  'effect' => array(
    'sliceUpDown' => 'sliceUpDown',
  ),
  'slices' => '15',
  'animSpeed' => '600',
  'pauseTime' => '4200',
  'directionNav' => 'true',
  'directionNavHide' => 'true',
  'controlNav' => 'disabled',
  'controlNavThumbsIC' => 'slider',
  'controlNavThumbsICField' => '',
  'controlNavThumbsField' => 'title',
  'keyboardNav' => 'false',
  'pauseOnHover' => 'true',
  'manualAdvance' => 'false',
  'captionOpacity' => '0',
));
$handler->override_option('row_plugin', 'nivo_sliderfields');
$handler->override_option('row_options', array(
  'image_field' => 'field_image_fid',
  'title_field' => 'title',
  'link_field' => 'field_link_url',
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
CommentFileSizeAuthor
#6 slider.png558.33 KBSaisai
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

the_g_bomb’s picture

You could try re-arranging your fields so they resemble:

Content: Link URL, as link
Content: Image Image
Node: Title

In "Content: Link URL", check Exclude from display

In "Content: Image", check Output this field as a link
enter [field_link_url] in Link path:
Under Label: check none

In Node: Title, uncheck Exclude from display
change link path to [field_link_url]

It's a long shot, but its about the only thing I can see that is slightly different.

janton’s picture

I did exactly what you said.. but no succes (yet) Also cleared cache etc..
Problem goes away if i remove the "Node: Title" from Fields, but then i get php error:
/sites/all/modules/views_nivo_slider/views-nivo-slider-view.tpl.php on line 40.

Somehow the titles just show, i tried unchecking and checking from display (Node: Title)

the_g_bomb’s picture

Is the site available to the public in anyway, could I have a look to see if I can figure out where the data is coming from?

janton’s picture

Not right now, i will send you a PM when it's (i think within 3 days)

the_g_bomb’s picture

Status: Active » Closed (won't fix)

I think this might be better in the views issue queue as a support request as it isn't actually a Boldy theme issue, but I would be still happy to have a look at the site to help out if possible

Saisai’s picture

FileSize
558.33 KB

I have the same problem (see printscreen). Did you find a solution yet?
I use D7 btw.

the_g_bomb’s picture

As you have discovered I have opened a ticket in the Views Nivo Slider issue queue
#1481194: Titles displaying below the slider

the_g_bomb’s picture

Status: Closed (won't fix) » Fixed

OK, I have discovered that the latest nivo-slider.css contains some extra styles that aren't being included in the boldy css. I have updated both the D6 and D7 versions to include the extra styles that need over-riding.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

changes