Лучшие модули для drupal 8.

Reading Time: 4 minutes

M odules are essential components of Drupal that add extended functionality to the website and turn a simple website into a very powerful beast!

One of the best features of Drupal 8 is that it integrates several essential modules into the core of the CMS. This is a major improvement over Drupal 7! In this article, I will highlight several Drupal 8 ready modules for different use cases.

Admin Modules

A responsive admin menu with extra functionality always comes handy when managing a Drupal site. Here are some Drupal 8 modules for your Admin menu.

Admin Toolbar

This module replaces the original admin menu with a responsive version that greatly improves the original menu’s functionality by adding drop-down menus. This speeds up the access to all administration pages. You could extend the functionality further by adding extra links for flushing cache and running Cron jobs.

Field Group

The field group module allows easier organization of the content by grouping the fields together in either vertical or horizontal tabs, divs, accordions etc. This module greatly enhances the user experience for content editors.

Linkit

This is an extremely useful module that allows auto-complete feature for all internal and external links. Now, the content producers do not have to remember the exact URL. Adding the URL and the process of hyperlinking is now easy because of the very user-friendly UI of the module.

PathAuto

Relevant and easy to remember URLs are an essential practice for website’s SEO. This module automatically generates relevant and easy to remember URL according to your web page. These URLs ensure that the pages on the website rank better in search engines and that the pages perform well in SERP.

Drupal 8 Modules for Website Builders

BigPipe

Page load time is one of the most important parameters for both the users and search engines. If the page does not load quickly, the users will abandon the website and search engine might penalize your website! With the use of the right Drupal 8 modules, you will never have to compromise on performance metrics.

This module implements BigPipe caching, originally introduced by Facebook, in order to speed up the website. The module first renders the cached components of the page and then loads up the dynamic components. This way, the page load speed increases dramatically.

This module allows you to transfer and use your website’s configurations and components to other websites without any major issues.

Drupal 8 Blog Modules

Blog

The Blog module used to be a core Drupal 7 module, but has been removed from the core of Drupal 8 to a contributed Drupal 8 module. This module, as the name suggests, allows the website administrators to build and maintain a blog.

For a blogger, increasing the online reach is the top priority at all times. Social media remains the most important aspect of any strategy of increasing the reach of the blog. This module allows you to add social sharing buttons that let the visitors on the blog quickly share the content across their social media profiles.

Drupal 8 Newsletter Modules

MailSystem

The Newsletter Module for Drupal 7 has, unfortunately, not been ported over to Drupal 8. However, the MailSystem module can be used as a workaround. This module allows you to set the templates and themes for the outgoing mail. You could also send regular newsletters to your subscribers through the module.

Drupal 8 Picture Modules

The Drupal 8 core includes the responsive_image module into the core of the CMS.

Here’s a riddle for you - “What is easy to install, configure and handle? What can be flexible and reliable at the same time?” The right answer is... Drupal modules! Yes, you’ve guessed! Your Drupal system can gain many unique capabilities when you install new, user–contributed modules for Drupal 8 that will give your system more tools to work with.

February was incredibly rich in module replenishment and we decided to prepare a short overview of these updates and describe the state of Drupal 8 modules.

Outlining Drupal 8 Modules Release Available

  1. Let’s begin with the IMCE module. This is an image/file uploader and browser that supports personal directories. It performs basic operations allowing you to upload, delete, resize, and preview, sorts files by name, size and date, supports private file system and other related procedures.
  2. The next module we touch upon is the Rules . It contains flexible scheduling system that allow you to schedule any component or action, and gives you an option to create custom redirections, system messages, breadcrumbs etc.
  3. Views Slideshow module can create a slideshow of any content and not only images that can appear in a View. User can have a number of images or any other components presented in a slideshow. Applying this module you will have all your items organized!
  4. Colorbox is another useful module. Why is this one handy for drupalers? Images, iframed or inline content etc. can be displayed in an overlay above the current page. Colorbox enriches website performance by excellent integration with image field and image styles. It alsogives an option to choose between a default style and a number of other styles that are included.
  5. Flex Slider module enable its user to build responsive, resizable slideshows.
  6. One more cool framework designed to power cross browser or cross device websites using responsive design techniques is called AdaptiveTheme . It allows you to create layouts for tablets and smartphones without any coding.
  7. If you are a content manager, you really should install the Scheduler module, because it gives you the ability to schedule nodes to be published and unpublished at specified dates and times in the future. Drupal 8 makes your job easier!
  8. The Panels module allows a site administrator to create customized layouts for multiple uses. At its core it is a drag and drop content manager that lets you visually design a layout and place content within that layout.
  9. To help searchers to more intelligently crawl a website and keep their results up to date, integrate the XML sitemap module. The sitemap created by the module can be automatically submitted to search engines.
  10. SMTP Authentication Support module supports SMTP authentication and can connect to servers using SSL if supported by PHP. It allows Drupal bypass the PHP mail() function and send email directly to an SMTP server.
  11. You should also consider the Metatag module. This one makes it easier to configure meta tags for all website pages during short period of time. It provides proper meta tags management (you can add your own meta tags), and gives a standardized API for developers to manage and control the meta tags for the sites they build.
  12. The main change to Devel module in Drupal 8 is the introduction of the WebProfiler submodule. It accelerates development of your site or module by quickly generating nodes, comments, terms, users, and more.

Wrap-up

The number 12 is ubiquitous - it"s the number of months in a year, hours on a clock face and the number of contributed modules for Drupal 8 in February. Furthermore, Besides these new modules, many of the contributed modules in Drupal 7 are under active development and they will be ready for Drupal 8 soon. We will keep you informed about the ongoing improvements and revolutions in the Drupal world!

Самые необходимые модули для проектов на Друпал.

Ниже привожу свой список так называемых "Must have" модулей, без которых вряд ли обходится хоть один из моих проектов.

Со временем пост будет обновляться, буду добавлять новые модули.

Содержимое:

Модули Drupal для администрирования:

  • Administration menu - Удобное выпадающее меню вверху страницы. Быстрый доступ ко всем административным страницам, в любой момент. Минимум настроек.
  • Module Filter - Переопределяет страницу модулей в более удобную. Добавляет динамический фильтр по названию модуля. Когда модулей становится много - без него никак.
  • Localization update - Автоматический перевод модулей и ядра Drupal.

Модули Drupal для работы с контентом:

  • Add another - Кнопка добавления еще одного материала. Сохраняет материал и загружает страницу создания нового материала того же типа. Удобно если добавляешь несколько нод подряд.
  • Entityforms - Модуль для создания пользовательских форм. Пришел на замену устаревающему Webform .
  • Entityform Anonymous - Позволяет заполнять формы созданные модулем Entityforms не авторизировавшимся пользователям.
  • Field collection - Добавляет возможность создавать мультиполя для сущностей. Сами поля представлены в качестве отдельной сущности, в которую соответственно можно добавить любое количество полей всех типов, поддерживаемых сайтом. Возможно расширить дополнительными модулями: Field Collection Table - отображение коллекции полей таблицей, и Field collection views - для поддержки модулем Views.
  • Field Group - Добавляет возможность группировать поля всевозможными способами: отдельными блоками, HTML5-элементами, jQuery-аккордионом или вкладками (горизонтальные/вертикальные).
  • Views - Вывод любой информации из БД. Очень много настроек. Можно вывести все - пользователей, ноды, таксономию, любые сущности... Вывод таблиц, неформатированных данных, с помощью дополнительных модулей возможно расширение способов вывода. Например можно сделать страницу экспорта сущностей и их полей. Гипкая настройка отображений с возможностью дополнительной темизации. Очень мощный модуль! С 8-й версии Drupal будет включен в ядро.
  • Chaos tool suite (Ctools) - Набор инструментов для работы с данными. Требуется для множества модулей.
  • CKEditor - WYSIWYG (визуальный HTML) редактор с большим количеством настроек.
  • Colorbox Node - Отображение контента в popup-окне без регионов темы. Удобно для, например, отображения WEB-форм или пользовательского соглашения во всплывающем окне.
  • Database Optimization - Модуль добавляет возможность автоматической (по расписанию Cronetab) очистки кеша и оптимизацию базы данных (вручную).
  • Panels - Очень гибкая настройка вывода информации. Интегрирована с Views. Имеет собственные настройки контекста для отображения данных. Встроенный шаблонизатор (настройка макетов отображения). Возможность создавать и настраивать собственные макеты. Позволяет выводить представления, блоки, любые сущности и собственную информацию. Настройка селекторов отображаемой информации.
  • Display Suite - Позволяет переопределить шаблон вывода сущностей. Обладает множеством настроек для дополнительной темизации. Очень много полезных функций, например: имеет встроенный шаблонизатор (работает по аналогии с Panels , в том числе поддерживает макеты Panels ), позволяет настраивать отображение заголовка, дает возможность переопределить классы отдельно поля/лейбла и общий вид отображения поля, включать в шаблон ноды поле с представлением (Views) или блоком, и многое другое.

Модули Drupal для работы с мультимедиа:

  • Colorbox - Удобный "litebox" плагин, для просмотра изображений (и, в принципе, любого контента) во всплывающем (popup) окне.

Модули Drupal для автоматизации:

  • Rules - Пользовательский интерфейс, позволяющий создавать правила поведения сайта, при определенных событиях. Очень мощный модуль. Возможно самое разнообразное применение: от рассылки почты, до автоматического формирования цены в интернет-магазинах. Используя этот модуль можно добиться уникального функционала даже без знания языков программирования.
  • Conditional Rules - Модуль расширяет функционал модуля Rules . Позволяет использовать условия в действиях правила. Упрощает написание правил, добавляет возможность проверки непосредственно в правиле.
  • Token - Доступ к статическим данным, а также переменным сущностей, с помощью вставки специальных строк (Токенов ) в текст. Используется множеством модулей. Необходим для формирования логических ЧПУ и т.д.
  • Pathauto - Настройка шаблонов автоматической генерации путей страниц (ЧПУ). Работает с модулем Token .

Ранее я уже вкратце говорил что такое модуль, для чего он нужен и где его следует хранить. Давайте установим свой первый модуль. Пусть это будет модуль Devel https://www.drupal.org/project/devel Качайте zip архив для 8 версии, распаковывайте и сохраняйте в sites/all/modules. Папок all и modules у вас нет-создавайте их. В свежих версиях друпала кидайте модули сразу в папку modules. Выглядеть у вас это должно вот так: Никаких упоминаний о версии модуля в именах папки быть не должно. После этого переходите в "Расширить" и в конце страницы увидите 4 модуля. Как я говорил ранее-модули могут быть зависимы друг от друга. Нам сейчас нужен только модуль "Devel generate". Этот модуль может генерировать материалы, термины таксономии, пользователей и меню. Использовать мы его будем при создании новостей на сайте. Отмечаем этот модуль и сохраняем настройки.
Модуль включится. Теперь переходите в "Конфигурация" и увидите там ряд новых страниц:
Если у вас слабый хостинг, и при включении модуля посыпались ошибки и вы не видите этих пунктов меню-попробуйте очистить кэш сайта. Для этого на этой же странице перейдите в "Производительность" и нажмите там кнопку "Очистка кэша". Если всё норм - значит модуль корректно установился. Остальные модули устанавливаются точно так же. Так же есть серверная технология Drush. Которая позволяет устанавливать модули прямо из консоли SSH. Если вы ранее работали с Drush - то можете использовать вс те же команды, что и в предыдущих версиях. Например скачать и установить Devel:

By Jay Callicott

October 26, 2016

Editor"s Note: For the latest and greatest in Drupal 8, check out Jay"s most recent top Drupal 8 modules list.

Introduction

Welcome back to another Drupal t op modules blog post from Mediacurrent. Last year, I wrote the but never fear, we are back again with some great modules for Drupal 8. These are modules I strongly recommend because I use them on most new builds.

One thing worth mentioning is that this list is shorter than usual. One reason is that Drupal 8 is still fairly new (about a year old) and there aren’t as many stable modules in the wild as there are for Drupal 7. For a more extensive list, you can search most installed modules on Drupal.org.

The other reason for this being a shorter list is a good one - Drupal 8 provides a lot more functionality out of the box. With Drupal 8 you can launch production-ready sites with fewer contributed modules than ever. This is a win in my view.

For some context, I added some notes towards the end of the post that mention why some modules were left off this list. Some modules were ported to Drupal 8, some are in D8 limbo, others didn’t make the list for other reasons.

Finally, for this blog, I added Beginner/Intermediate/Advanced labels for each module listed to help you sort through which modules are the best fit for your own level of expertise.

Enjoy! Send your feedback and hate mail to my Twitter account @drupalninja or leave a comment below.

Jay "s Best Drupal 8 Modules List

  1. Admin Toolbar (Beginner) - The admin toolbar module effectively replaces the popular admin menu module in Drupal 8. You will still get your rollover menus but now the entire menu is responsive.
  2. Backup and Migrate (Beginner) - Backup and migrate is still a useful module to easily schedule database backups for your Drupal site.
  3. Components (Intermediate) - If you are doing any Twig theming this module is going to help you with your Twig file includes.
  4. Config Installer (Advanced) - The config installer module allows you to install a new site using existing configuration. Without this module Drupal would complain about UUIDs not matching. If you are an experienced developer writing custom install profiles this module will be very useful for you. Eventually this logic will be moved into core.
  5. Devel (Intermediate) - Devel has been around a long time and is still a great module for developer debugging.
  6. Field Group (Beginner) - This is a helpful module for cleaning up your content types. You can organize fields into tabs, accordions, etc. to give your content editors a better experience.
  7. Google Analytics (Beginner) - This simple module allows site admins the ability to easily configure Google Analytics in Drupal.
  8. Linkit (Beginner) - Still a great module for linking content with a nice interface for editors.
  9. Metatag (Beginner) - Maintained by Mediacurrent’s very own , this module is a must have for configuring your site’s meta tags.
  10. Panels / CTools / Page Manager (Intermediate) - Panels has been around for quite a while and has now been completely rebuilt for Drupal 8. If you are going to use one of these modules you are probably using all three. Panels gives you more control over page layouts than you are going to get with the core block layout page.
  11. Paragraphs / Entity Reference Revisions (Intermediate) - The paragraphs module is a Mediacurrent favorite for a couple of reasons. First, it will let you wave goodbye to field collections . Second, it will let you build a more robust content architecture. Paragraphs are like mini-content types that can handle a variety of use cases.
  12. Pathauto / Token (Beginner) - The pathauto module is a must-have module for configuring page path patterns.
  13. Redirect (Beginner) - Almost every new site needs to incorporate 301 redirects for old page URLs. The redirect module gives site admins an easy interface for creating those redirects in Drupal.
  14. Search API (Intermediate) - The Search API suite of modules is a fantastic way to configure your site searches. Now the Drupal 8 module includes the DB API which makes it even easier to get started.
  15. View unpublished (Beginner) - This is a small but handy module that fills a common permissions void in Drupal. Almost every site we do has a role without complete content editing privileges. That role still needs to be able to view unpublished content which you can’t really configure out of the box in Drupal 8.
  16. Simple Sitemap (Intermediate) - A pretty easy to configure module for creating XML sitemaps for search engines.

Modules removed from previous list

The following modules were either ported to Drupal 8 core or replaced by similar functionality in core:

Other notable mentions

    Address field - Replaced by Address in Drupal 8. I haven’t found myself using this module lately.

    Commerce - Still a must-have module for commerce sites. I haven’t done as many e-commerce sites lately.

    Features / Strongarm - With Drupal 8 configuration management you don’t really need the Features module. There is still a Drupal 8 module but we have replaced it on our projects with D8 configuration and the config_installer profile.

    File entity - Still available in Drupal 8. A must-have if you need to add fields to files like images.

    Global Redirect - No Drupal 8 module. Some functionality has been ported to the Redirect module.