Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

The Views Timeline module allows you to create interactive timelines in Drupal using Views configuration. It offers various predefined layouts, customizable fields for content like titles, icons, dates, and descriptions, and supports custom color palettes and theming for a unique visual presentation.

The Views Timeline module is a flexible solution for creating and displaying interactive timelines in Drupal. It enables site administrators to build timelines directly from Views configuration—ideal for showcasing
events, milestones, or time-ordered data.

With support for 13 predefined layouts, custom field mapping (title, icon, date, description), dynamic color palette choices, and full theme override support via Twig, CSS, and custom templates, the module offers both
ease of use and creative freedom. Customize your timeline layout, style it with predefined or custom color palettes, or create completely custom designs for a powerful visual presentation.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Requirements

This module requires no contributed modules outside of Drupal core.

Installation

Install as you would normally install a contributed Drupal module. For more information, see Installing Drupal Modules.

If using Composer:

composer require drupal/views_timeline

Enable the module using Drush:

drush en views_timeline
Configuration
  1. Go to: Structure → Views → Add new view
  2. Choose the Views Timeline format from the View format options.
  3. Map the appropriate fields from your View to Timeline fields (e.g., title, icon, date, description).
  4. Select a Timeline layout from the available options (13 predefined layouts).
  5. Pick a color palette or configure custom colors for the timeline. You can use one of 50 predefined color palettes or define custom colors.
  6. If needed, override the layout using custom Twig templates (e.g., copy templates/views-timeline-layouts/layout-one.html.twig to your theme for customization).
  7. Save your view configuration.
Customization

To fully customize your timeline layout and design:

  • Override the default Twig template for specific layouts (e.g., views-timeline-layouts/layout-one.html.twig) by copying it into your custom theme's folder structure.
  • Customize the design with custom CSS to adjust layout elements and styling.
  • If you wish to use custom color palettes, define them within the theme or module settings.
  • For advanced changes, modify the underlying HTML structure and CSS classes within the Twig templates.

Use standard Drupal theming practices to override templates and libraries via your theme or a custom module.

Troubleshooting
  • Ensure Views are configured with valid fields and that the timeline data is rendering as expected.
  • Check if your layout is correctly overridden and Twig templates are placed in the right location within your theme.
  • Verify custom CSS styles are applied, and adjust selectors as necessary.
  • If colors are not reflecting, confirm that the color palette settings are properly saved and applied to the timeline.
Using AJAX Load More Functionality in Views

You can display content using standard pagination or enhance the user experience with an AJAX "Load More" button.

To Use Pagination:

  1. Edit your View.
  2. Under the Pager section, choose a pagination option (e.g., "Items per page, X items").
  3. Save the View.

To Enable AJAX Load More:

  1. Enable AJAX:
    • Edit your View.
    • In the Advanced section, set Use AJAX to Yes.
  2. Install Views Show More Module:
  3. Configure Show More Pager:
    • In the Pager section of your View, select "Show more pager" (provided by the module).
    • Set the desired number of items to load per click.
    • Save the View.

Now your View will load more timeline elements dynamically when the user clicks the "Load More" button, without reloading the page.

SUPPORT
For support, please post bug reports, feature requests and support requests to
the Views tileline issue queue. If you met any problems with this module - feel free to create an issue.

Activity

Total releases
2
First release
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.0 Stable Jun 30, 2025
1.0.x-dev Dev Jun 30, 2025