Skip to main content

Views

One of the most powerful features of Drupal is the Views module, which in Drupal 10 is anymore in core.

Further to the default Views blocks, like

  • Recent Comments
  • Who's new
  • Etc.,

Webmaker+ comes with many Views implementations, including pages and blocks, that enable you to automate the collection and presentation of information throughout the site. These Views are listed under

/admin/structure/views

Every one of those is also editable via the front-end interface, when logged in as Drupal admin, by clicking the corresponding action link, when hovering, as shown below:

Isotope

This view consist of 3 different pages that each displays the corresponding nodes in a grid layout with additional Isotope filters at the top. There is one page for each of the “Accommodation”, “Album” and “Merchandise” content types.

/albums-isotope

/products-isotope

/services-isotope

/showcases-isotope

Latest

This view consists of four separate view blocks that each displays the latest nodes of the corresponding content type. There are view blocks available for the “Article”, “Products” and “Service” content types.

This view block collects and displays all the taxonomy terms used on the site, sorted from the most to the least used.

Pricing tables

Collects and displays the latest Merchandise nodes in a pricing table style. There are 2, 3 and 4 column view blocks available. You can also find the corresponding view page under:

/pricing-tables

There are view blocks that display related products based on the product content type.

Albums

Collects and displays Album nodes in the corresponding grid style. The available options are available at the following pages:

/albums

/albums-list

/albums-metro-tiles

/albums-isotope

Slideshow

Collects and displays nodes that are marked as promoted to slideshow. There are 3 different flavours of the slideshow, Boxed, Full screen and Full width. You can see each of these blocks at the corresponding demonstration pages:

Boxed

Full Width

Full Screen

Configuration

In this theme, these three slideshow implementations are initialized in the twig template and the javascript files available under the paths:

  • Twig:

    • baseplus/templates/views-view-field--mt_slideshow_boxed_width--nothing.html.twig
    • baseplus/templates/views-view-field--mt_slideshow_full_screen--nothing.html.twig
    • baseplus/templates/views-view-field--mt_slideshow_full_width--nothing.html.twig
  • Javascript:

    • baseplus/js/init/slider-revolution-boxed-width-init.js
    • baseplus/js/init/slider-revolution-full-screen-init.js
    • baseplus/js/init/slider-revolution-full-width-init.js

In these files you could configure the way the slideshows and their internal elements are positioned and laid out.

For more information, and all the available options, please refer to the official documentation of Revolution Slider

Team members

Collects and displays “Team Member” nodes in a grid layout or as a list. You can find the corresponding view pages under:

/team-members

/team-members-2

/team-members-masonry

Testimonials

Collects and displays testimonials nodes in a simple and stylish list. There is also available a simple view block that displays the last 2 testimonials as well as Slideshow powered view block that loops through all of them. The view pages are accessible through:

/testimonials

/testimonials-3-col

/testimonials-3-col-2

/testimonials-masonry

Products

Collects and displays Product nodes in the corresponding grid style. The available options are available at the following pages:

/products-2-col /products-3-col /products-isotope /products-list /products-metro-tiles