Tổng hợp các modules tốt nhất ở Drupal 7 - Final Edition

INTRODUCTION TO JAY’S MODULE LIST

If you have been to the Mediacurrent blog before you have probably seen my Top 50 modules lists for Drupal 6 and 7. This current list will be my final update for Drupal 7. My last blog from 2012 was in dire need of updating so I have gone through one last time to give our readers my a good list of modules to start with for their next Drupal 7 site.

>> Giới thiệu jQuery và Subtotaling trong Views Calc Tables - Drupal 7

>> Sử dụng Views Calc - để tính toán cho Fields trong Views module

If you have visited Drupal.org recently you will notice that there are literally thousands of modules available to download. This can be very intimidating for new users who are just getting started building Drupal sites. The secret for newbies to know is that most developers continually use a few dozen of the same modules on almost every project.

Building Drupal sites

As a 9 year veteran of Drupal I like to share my list of modules that I personally use on almost every site I build. If you are just getting started, this is a good list to begin with. If you are an intermediate or even an expert developer it can be helpful to skim the list to see if there are any modules that can help you on your next project.

If you are getting start be sure to take a look at the Panopoly distribution. This is a great way to get a lot of preconfigured modules and editorial tools out of the box. I highly recommend you check it out!

NOTE: I have tried to indicate on the list where I have made changes. You will see several 'New' and 'Updated' labels. 'New' does not mean new to Drupal, but rather new to the list.

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

JAY’S LIST

Administration

  1. Admin Menu *Update
    This module adds rollover nested menu items for administrators. The only downside is that the menus are not so responsive/mobile-friendly. When a responsive menu is needed, site builders can opt for the backported Navbar menu instead.

  2. Features
    A great tool for developers to and site builders to export configuration to code. Features is often used for deploying configuration from one environment (such as local) to another (such as production). In addition Features is used by many open source distributions.

Developers

  1. Backup & Migrate
    A must have utility module for all developers. This allows you to easily dump the site’s database minus cache tables which is great for migrating the site across environments. It is also great for scheduled backups that run on cron runs.

  2. Devel
    A must have tool for developers to debug their sites.

  3. Drush + drush make
    Drush is the standard for developer command line site administration. If you are not using Drush, you should be. Drush make is great for creating ‘builds’ and is also used in Drupal distributions.

  4. Stage file proxy *New
    If you haven’t run into this module then you are in luck because it’s going to make your life easier. Stage file proxy allows you to download images on demand which is extremely useful when you are testing a site locally.

Site building

  1. Address Field
    Address field allows you to collect an address from within a field and has Views integration.

  2. Admin Views + Views Bulk Operations *Update
    Admin views will replace Drupal core administrative lists with Views. This makes it much easier to modify these lists (such as the /admin/content screen). This module uses VBO which adds bulk operations to administrative views.

  3. Date
    Allows ‘date’ fields to be added to content with beautiful javascript-powered popup calendars and has Views integration.

  4. Email
    This module allows you to add email address as fields in Drupal 7 which is a pretty common use case.

  5. Entity Reference *New
    This module is similar to the References module in that it allows you to reference one entity to another. Entity reference is now in Drupal 8 core so this is the module we recommend using. One word of caution, the entity reference select widget can have performance consequences for large lists of content.

  6. Field Collection
    This module allows you to create composite fields for Drupal content types. Field collections are 'entities' in Drupal 7. This is a VERY handy module. The module includes Views integration although it can be a bit advanced for novice site builders.

  7. Field Group
    In Drupal 7 you need this module to group fields together on a content type. This is helpful for editors as it provides visual clarity as to how fields should be grouped together on a page.

  8. File Field Sources
    This module provides a handy file widget for content forms. The Media module also provides a widget with a popup dialog but sometimes “filefield sources” is a better fit.

  9. Image Link Formatter *New
    This module is very handy for the common use case where you want to render an image as a linked image using a link field as the value.

  10. Link
    Allows you to add ‘link’ fields to content and has Views integration.

  11. Media
    This module is ubiquitous with file field widgets in Drupal 7. The Media module provides an interface for managing media in Drupal and has many extensions available. The downside of this module is that it does have a history of being buggy.

  12. Menu Block
    While we avoid using the block module at all in favor of Panels sometimes we will enable the block module solely to be able to use this module. The menu block module allows site builders to create a slice of a menu that can be embedded as a block.

  13. Module filter *New
    This module is a must have for the /admin/modules page which can get very long and difficult to navigate. The module filter organizes modules and provides a search box.

  14. Panels *Update
    Since my last post, the Mediacurrent team (as well as many other Drupal shops) has coalesced around using Panels as the site building tool of choice. With custom Panel layouts you can control the entire page output with the ability to heavily customize the markup. Due to the rise HTML frameworks (e.g. Bootstrap, Foundation, etc.) it is critical to have strong control over the Drupal markup that renders on the page. We find that Panels can handle all our use cases without requiring additional site building tools (e.g. D.S., Context, etc.).

  15. Panelizer *New
    This tool is a nice compliment to Panels, in that it gives editors the ability to customize layouts per entity instance. This gives us the ability to empower editors with much more flexibility in how they build out pages. Panelizer can be used for virtually any entity type and view mode.

  16. Pathauto
    The standard for automatic path aliasing. A must-have module.

  17. Rules
    This module is a swiss-army-knife tool for all sorts of tasks that in the past might have required custom code. You can send emails, set breadcrumbs, all sorts of tasks.

  18. Search API *New
    For site builders that need to customize search, this module is the only way to go. The Search API will require additional modules (e.g. Search API DB, Search API Solr, etc.) depending on the search engine used.

  19. Smart Trim *New
    This module is a must have for site builders. Now maintained by Mediacurrent! Smart Trim gives developers much better options for providing trimmed content teasers.

  20. Views
    This is the reason why you are using Drupal. Views in now in Drupal 8 core!

  21. Views RSS *New
    Out of the box, Drupal does not give a lot of control over how RSS is rendered by Views. This module allows developers to the tools they need to customize RSS display.

  22. Webform
    A must-have module for every site. Often used for contact forms and has all kinds of useful functionality.

Content

  1. Feeds + Feeds Tamper + Feeds Xpath Parser *Update
    A great module for importing syndicated content. Feeds can also be used to migrate content from one site to another. Sometimes it is easier to use Feeds than the more complex Migrate module. UPDATE: Feeds Tamper is also a good module to include as it lets you fiddle with content data prior to importing.

  2. Flag
    This module is abstract enough that it can be used for all sorts of purposes. For example, flags can be used to ‘like’ content, flag content as inappropriate, or assign content to a ‘wish list.’

E-Commerce

  1. Commerce *New
    In past lists I have not included Commerce as this module (and complementary modules) are not required unless the site has E-commerce functionality. For sites that do need E-commerce, Commerce is the only way to go.

Publishing

  1. Nodequeue
    I have a love, hate relationship with Nodequeue. On the one hand, Nodequeue is good for creating arbitrary lists of content and this module has good Views integration. Other the other hand sometimes there is an easier path to create lists of content (such as a field collection) that is a bit more intuitive for editors.

  2. Linkit *New
    A handy module for editors to link Wysiwyg (and other content) using a handy little dialog box.

  3. Wysiwyg
    Simply a great module for adding a wysiwyg to your site. This tool gives developers a lot of options and integrates with several of the leading javascript wysiwyg libraries.

SEO

  1. Global Redirect
    A helpful SEO-based module that helps Drupal not appear to have duplicate URLs so that your site isn’t penalized by search engines.

  2. Google Analytics
    A required module for every site that needs to track analytic data.

  3. Metatag
    This module allows you to add meta tag information to your site, including node content. A must-have module for every site.

  4. Redirect
    This module is critical for providing 301 redirects on your site. When combined with Pathauto you can ensure that any path that changes automatically has a 301 redirect created. This is important in order to prevent 404 errors for site visitors.

  5. XML Site Map
    An SEO module for providing site maps to search engines.

Theming

  1. jQuery Update *New
    This is a very handy module which allows site builders to upgrade the version of jQuery that ships with Drupal. One of the nice features is being able to specify a different version of jQuery for the administrative theme than is used for the main theme.

Users

  1. Redirect 403 to User Login
    Very handy module for access denied pages! I use this on every project now. This module redirects you to a user login when a user hits a page they do not have access to.

Utility / API Modules

  1. Chaos Tools
    From the mind Earl Miles, CTools is now required by Views in Drupal 7 so likely every D7 site will include this module. CTools is an important module for developers who need to create custom plugins and exportables.

  2. Entity + Entity Cache *Update
    Entities are a new Drupal 7 concept, this module is required by a lot of other modules because it exposes an API to entities, so chances are you are going to need this module installed. UPDATE: Entity Cache is also a good module to include so that your entities get cached. No configuration needed, this module can just be dropped in and enabled.

  3. File Entity
    This is required by the Media module and extends file types by making them fieldable.

  4. Libraries
    The Libraries module is an API module for modules that makes it easier for module maintainers to include 3rd party libraries in their module.

  5. Strongarm
    Great when used with the Features module. This module stores Drupal settings in code instead of the database. This is very handy for Features because it will auto-export a lot of settings for you when you export content types to Features.

  6. Token
    Has been around for a while and is still great for using placeholders in content, and urls.

Removed from previous list

  1. Admin
    I used this module quite often for Drupal 6 sites but I now use Admin Menu or Navbar.

  2. Captcha + Recaptcha
    Captcha’s are not quite as beloved as they once were for spam prevention. While still an option, there are captcha alternatives such as Honeypot.

  3. CCK
    This module had some useful functionality when migrating from Drupal 6 but I don’t use this module much any more for D7 sites.

  4. Colorbox
    Colorbox is a fairly good lightbox module and so it was a tough call to remove from the list. I think for new users colorbox works great. For highly customized sites though I find custom integrating a lightbox plugin is actually easier than fighting one of the modules to product the output I am wanting.

  5. Content Taxonomy
    While this module has some useful taxonomy, the core taxonomy term widget is good enough for most use cases.

  6. Context
    While Context has some useful functionality I have found that I can use other tools in place of Context. Panels and Rules most notably provide most of the functionality I used to need Context to provide.

  7. Display Suite
    Similar to the Context module, Panels is a suitable replacement for what Display Suite can do. Display Suite’s approach is interesting, and preferred by some users over Panels. For many though, Panels can do more than Display Suite can do alone without requiring additional site building modules.

  8. IMCE
    The Media module adds an image button dialog to Wysiwyg and so I don’t use IMCE any longer.

  9. Menu Breadcrumb
    While this module is useful, it does not handle every use case. Often breadcrumb rules are complex enough to require custom logic outside of Menu Breadcrumb.

  10. References / References Dialog
    While these modules are good in their own right, we have migrated to the ‘Entity reference’ module which is included in Drupal 8 core.

  11. Styles
    This module is no longer needed to customize file entity display.

  12. Views PHP
    While this module is handy, it presents a security risk in that you have to enable the PHP module. It is recommended to find alternatives.

  13. Views Slideshow
    This is a good module but I am finding that I would rather integrate a 3rd party jquery slideshow manually as opposed to using Views Slideshow which can be buggy and difficult to customize. That being said, for beginners this is still a pretty good module to use for rotating content.

Have feedback? Share your comments below or contact me at twitter.com/drupalninja.