Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By lucavox on
Hello everyone I have a view with the following code:
<?php if (!empty($field->separator)): ?>
<?php print $field->separator; ?>
<?php endif; ?>
<?php print $field->wrapper_prefix; ?>
<?php print $field->label_html; ?>
<?php print $field->content; ?>
<?php print $field->wrapper_suffix; ?>
<?php endforeach; ?>
the view is composed of a field field_photo and field_title
How can I create a rollover on the photo with the title of the content?
One thing's genete:
<a href="[link_2_content]"><img src="[field_foto.gif]" title="[field_title_content]"/></a>