Structure → WissKI Entities and Bundles → Views → + Click Add View
It is also possible to define your own views if you want to create lists based on special filter criteria:
For "View Settings" and Show: Select "Wisski Entitiy".
A view can be created as a page or block or both. In the following example a page is selected (in a block the list would appear directly in the block):
Check "Create a page" under "page settings".
Then the following field appears:
Select the desired display format here under "page display settings", e.g. "Unformatted List", "Table", etc. The format can also be changed afterwards.
In addition, a check mark can be set at "Create a menu link". The link to the view will then appear at the selected position. If necessary, the menu link can also be selected or changed afterwards. The following options are available:
Note:
Under the settings there is a preview, which updates itself after each change.
Important: First the filter criteria should be selected!
Title | The title that is displayed when you click on the view. |
Format | Here you can change the display format. Under Settings the settings for the respective format are made. |
Fields |
Important: The field "Entity ID" should never be removed! But it can be hidden by selecting the field and checking "Exclude from display"! Set references from the field of the view to the corresponding records:
|
Filter Criteria |
The bundles and paths/contents by which the filter is to be performed are entered here.
Meaning of the operators:
|
Sort Criteria | The paths according to which the sorting of the display is to be structured are specified here. |
Page Settings |
|
Header | Here, for example, the hit list can be displayed (tick at "Result summary") or an introductory text can be inserted (tick at "Text area"). |
Footer | → same selection as "Header". |
No Results Behavior | Display with a hit list of 0 → same selection as "Header If the entry remains empty, the page remains empty, apart from the title. |
Pager | Here you can set how the result navigation works, how many hits are displayed per page, etc. |
Advanced
Use AJAX | Better select "No". |
Caching | Switch off in case of doubt if the view has problems loading. |
CSS class | Here you can apply self-defined CSS classes to the view, e.g. to change distances, etc. |
Example: View in display format Geofield Google Map
Example: View in Table Display Format with Introductory Text