I wanted to create a simple view that would include a series of nodes - informations about the events.
I created the content type, and then moved on to create a View. All workes fine, until I realized that the titles of the nodes are *not* displayed. They do appear in other themes (and the preview), just not in Genesis.
Afterwards I created a fresh drupal install, and tried it on pure genesis 7.1, Views 3.3, and drupal 7. The problem still appeared.

It is most probable that it's my fault, though i have not found anythingon the topic.

I attach the view export and the screenshots of the view.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

myliefie’s picture

Fixed this by added the following to the node.tpl.php file:

  <?php if (!$page): ?>
    <h2<?php print $title_attributes; ?>>
      <?php print $title; ?>
    </h2>
  <?php endif; ?>

If you want the H2 to be a link add:

<?php if (!$page): ?>
    <h2<?php print $title_attributes; ?>>
      <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
    </h2>
<?php endif; ?>
ivanhelguera’s picture

Great!