Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

    View variable element

    Use the view variable element to add a variable that's available in your view. The variables themselves are configured within the Drupal views user interface.

    Locating the view variable

    To find the View variable element:

    1. Navigate to Site Studio > Templates > View templates
    2. Create or Edit a View template
    3. Click the + button on the Layout canvas
    4. Within the Elements tab, look for the View variable element.

    It includes these configuration settings:

    View variable 

    • Variable - Select the view variable to display
      • Header - display the header configured within the Drupal view
      • Footer - display the footer configured within the Drupal view
      • Rows - display the view rows
      • Empty - display the no results behavior configured within the Drupal view
      • Pager - display the views pager configure within the Drupal view
      • Exposed - display all exposed elements within the Drupal view
      • Feed icons - display the feed icons
      • More - display a more link configured within the Drupal view
      • Title -  display the Title set within the Drupal view
      • Attachment before - display the configured Drupal view attachment before
      • Attachment after - display the configured Drupal view attachment after


    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket


    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.