Mercurial > hg > rr-repo
annotate sites/all/modules/views/help/style-fields.html @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
rev | line source |
---|---|
danielebarchiesi@0 | 1 The <strong>fields</strong> row style displays each field defined in the view, one after another. Each field defines its own output. |
danielebarchiesi@0 | 2 |
danielebarchiesi@0 | 3 By default, each field is put in a <div> unless it is selected to be <em>inline</em>. If it is inline, it is put in a <span>. Two items in <div>s will be displayed one after another, with the second one below the first. Two items in <span>s will be displayed on the same line. One item in a <span> next to <div>s is the same as two items in <div>s. This means that for the <em>inline</em> setting to do anything, at least two consecutive items must be set inline. |
danielebarchiesi@0 | 4 |
danielebarchiesi@0 | 5 You may define a <i>separator</i> which will be placed between each item. This separator may be html. You can use &nbsp; to print blank space. |
danielebarchiesi@0 | 6 |
danielebarchiesi@0 | 7 If the view's row style is set to "fields", fields must be added to the View. If there are no fields, you may receive validation errors such as: |
danielebarchiesi@0 | 8 |
danielebarchiesi@0 | 9 <i>* Display "Defaults" uses fields but there are none defined for it or all are excluded. |
danielebarchiesi@0 | 10 * Display "Page" uses fields but there are none defined for it or all are excluded.</i> |
danielebarchiesi@0 | 11 |
danielebarchiesi@0 | 12 This is because the row style "fields" expects at least one field for display. |
danielebarchiesi@0 | 13 |
danielebarchiesi@0 | 14 There is also an option to hide empty fields, so empty fields, along with their labels or markup will not be displayed. |
danielebarchiesi@0 | 15 |
danielebarchiesi@0 | 16 There is also an option to hide empty fields, so empty fields, along with their labels or markup will not be displayed. |