semantic-views.html 1.1 KB

123456789101112131415161718
  1. The <a href="http://drupal.org/project/semanticviews">Semantic Views</a> module has been mostly incorporated into Views 3.x. Semantic Views is still around for people who need it, though. For some details on how the original module is different from the Views implementation, please see <a href="http://drupal.org/node/1013876">this issue</a>.
  2. Semantic views help you insert markup of your own from the Views UI, so that you can fairly easily override the default markup without having to restyle via templates.
  3. As a usage example,
  4. In a view with a field:
  5. <ol>
  6. <li>Configure the field. (Click on the field.)</li>
  7. <li>In the modal that opens, scroll down to <strong>Style Settings</strong>.</li>
  8. <li>Choose one or more of the three <i>Customize</i> options. This will reveal a dropdown menu where you can choose from one or more HTML tags to use on that field and allow you to add a CSS class specific to that field should you desire.</li>
  9. <li>Decide if you want to keep the Views default classes. Unchecking this box means your markup is *it*.</li>
  10. </ol>
  11. <a href="path:images/views3-semanticviews.png"><img src="path:images/views3-semanticviews.png" />