1 |
85ad3d82
|
Assos Assos
|
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 |
|
|
|
3 |
|
|
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.
|
4 |
|
|
|
5 |
|
|
As a usage example,
|
6 |
|
|
|
7 |
|
|
In a view with a field:
|
8 |
|
|
<ol>
|
9 |
|
|
<li>Configure the field. (Click on the field.)</li>
|
10 |
|
|
|
11 |
|
|
<li>In the modal that opens, scroll down to <strong>Style Settings</strong>.</li>
|
12 |
|
|
|
13 |
|
|
<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>
|
14 |
|
|
|
15 |
|
|
<li>Decide if you want to keep the Views default classes. Unchecking this box means your markup is *it*.</li>
|
16 |
|
|
</ol>
|
17 |
|
|
|
18 |
|
|
<a href="path:images/views3-semanticviews.png"><img src="path:images/views3-semanticviews.png" /> |