Skip to main content
Home
Schatzchaeschtli 2026

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home

Views: Tabelle ausgeben

By PierreAdmin , 16 September 2026

Manual zur Erstellung einer View im Modestia Projekt. Es wird die Eventstabelle aus den Event-Feeds erstellt.

Neuen View erstellen

Structure > Views > + Add view

  • Name: per -- Event Table (per_event_table)
  • Description: ***
  • View settings: Content > of type > Event
    • Create a block: pernet -- Test
    • Block display settings
      • Display format: Table
    • Items per block: 0 (für alle)

View konfigurieren

Felder hinzufügen:

Link hinzufügen (Event Link)

  • Create a label: Aus
  • Exclude from display: An
  • Formatter: Link
  • Trim link text lenght: leer lassen
  • URL only: An
  • Show URL as plain text: An
  • Weitere Settings nichts ändern

Description hinzufügen (Event Description)

  • Create a label: Aus
  • Exclude from display: An
  • Weitere Settings nichts ändern

Felder sortieren: Im Block Fields > Add > pulldown > Rearrange
Title ans Ende schieben, damit wir bei Title auf die vorherigen Felder zugreifen können.

Titel hinzufügen (title)

Ist schon da, muss noch konfiguriert werden

  • Create a label: An > Anlass
  • Link to the Content: Aus
  • Rewrite results:
    • Override the output of this field with custom text:
    • {% if field_eve_event_link|striptags|trim %}
        <a href="{{ field_eve_event_link|striptags|trim }}">{{ title }}</a>
      {% else %}
        {{ title }}
      {% endif %}
      {% if field_eve_event_description|striptags|trim %}
        <div class="event-description">{{ field_eve_event_description }}</div>
      {% endif %}
  • Weitere Settings nichts ändern
  • Einstellungen sichern.

Datum hinzufügen (Event Date)

  • Create a label: An > Datum
  • Formatter: Custom
  • Time zone override: Zurich
  • Date/time format: d.m.y

Zeit hinzufügen (Event Date)

  • Create a label: An > Zeit
  • Formatter: Custom
  • Time zone override: Zurich
  • Date/time format: d.m.y

Typ hinzufügen (Event Type)

  • Create a label: An > Art
  • Formatter: Plain text

Filter und Sort criteria:

Filter 

  • Content: Published (=Yes)
  • Content: Content type (= Event)

Sort

  • Content: Event Date (asc)

Format

table > settings

  • Table CSS classes: termine
  • drupal
  • drupal 11
  • view
Views

Tag Suche

Categories (Taxonomie-Menu)

  • Drupal
    • Module
    • Theming
    • Views
  • Webentwicklung
    • Composer
    • CSS/SCSS
    • Deployment
    • Drush
    • Git
    • HTML
    • JavaScript
    • PHP
    • SSH
    • SVG
    • VS Code
  • Datenbank
    • mySQL
  • Server
    • Apache
    • DNS
    • Domains
    • Plesk
    • SSL/TLS
  • System
    • Mac
    • Unix
    • Windows