The Entity Views Attachment (EVA) module extends the Views module to allow you to attach a view to any entities on your site. Views on its own will let you create a page for your view, with its own URL, and it also lets you attach multiple views to the same Views page, but it doesn't let you do something like attach a view to a node, or a user. This lesson walks through a simple example of creating a basic view listing published articles on a site, and then using EVA to attach that view to user profiles, and making sure that we only list the published articles for that user, using a contextual filter.
Additional resources
The Views Bulk Operations (VBO) module is a great extension for the Views module, which allows you to add bulk operation checkboxes and actions to any view. You often see bulk operations on various Drupal core administration pages, like the content administration screen, which lets you select multiple pieces of content, and then perform an action, like publishing or deleting, on all items at the same time. VBO lets you add this to your administrative screens, which allows you to create very customized reports that also have time-saving actions available to them as well.
Additional resources
This week we keep rolling out handy modules that everyone should know about, with a look at two very popular modules for extending the Views module. The first, Entity Views Attachment (EVA), lets you attach any of your views to various entities on your site, like nodes or users. This is handy when you want to display a view as part of another entity on your site, instead of displaying it on its own URL.
This week's release we have three super handy modules to check out when building your site. The Module Filter module is designed to make your site administration life easier but helping you navigate the module administration page. Environment Indicator helps you sort out which site you are currently looking at and working on. This can get confusing if you are following best practices, and have several versions of the site for different stages of work (like development, staging, and live).
This week I am continuing the trend of mini-series with some lessons on deploying your code, in the FREE Deploying Your Code Without a Terminal series. The reason behind this quick set of videos is that not everyone is command line savvy, and not everyone has to be. What is important though, is getting your code into version control, and there are plenty of tools that let you do that using a graphical interface.
We introduce code deployment without a terminal using beanstalkapp.com.
Deployment means moving your code from environments such as local to production – with version control, which allows for backups, fixing mistakes, and collaborative environments.
Git is the type of version control used in Drupal, and we'll discuss Git in this lesson.
Additional resources
Deploying Your Code
FreeIn this lesson we will take the code we have committed to our remote repository and manually push it to our production server. We will cover how to setup deployments on beanstalkapp.com and the some of the advantages of using a tool like this.
A question we are commonly asked is: how did your production environment recognize the new feature?
Answer: Reverting a feature reverts it back to what is in code. So by updating the code it always looks to the code so there is no need to revert it. You usually revert a feature if you have made changes that are stored in the database and you need it to look back to the code as your database changes are not what you wanted or are wrong. If the changes you made in the database are what you want, then you update/recreate the feature.
In this lesson, we will cover the basics of getting code into version control using the Mac app "Tower" and then making the first commit and pushing it to the remote repository we will setup on beanstalkapp.com.
Want to get started with Drupal? Join us on the first day of DrupalCamp London for an Introduction to Drupal course. Led by the accomplished Drupalize.Me team, this full-day training will cover Drupal history, terminology, simple site building and how to navigate the Drupal community.
Kickstart Your Drupal Education
- Discover Drupal history and get an overview of what’s next
- Learn basic Drupal terminology
In this lesson we will cover using Lightbox2 and Colorbox with content in your site. Taking a lightbox beyond just enlarging images, we will demonstrate displaying nodes and using Views with a lightbox.
In this lesson we will use both the Lightbox2 and Colorbox modules in actual real world uses. We will demonstrate how to use each module or helper modules to use with images, create slideshows and galleries.
We're looking for a friendly and effective sales representative for the Lullabot Education department, which includes Drupalize.Me. We've been growing by leaps and bounds over the last year, and we'd like to bring someone in to help manage that growth in sales, as well as push us even further along by finding people and organizations who need Drupal training, and matching their needs with our team and knowledge.
Lightboxes and Drupal 7
CourseIn this lesson, we will take a look at the Colorbox module and its configuration page. We also will discuss some other helper modules that work great with Colorbox. Later in the series, we will demonstrate some uses of Colorbox and techniques to make the most of it.
Additional resources
Modules Needed
External
In this lesson we will cover the configuration pages for the Lightbox2 module. This module offers a ton of options and the configuration page can be daunting. Later in the series, as we get into using Lightbox2, we will demonstrate how to apply some of these configurations.
Additional resources
Modules Needed
A Lightbox brings content to the user's attention.
To decide which Lightbox module you should use for your Drupal project, think about what you will use it for. Do you need to handle images and video? HTML? Integration with other modules? Various browsers?
Once you choose one to meet your needs, we’ll show you how to go about using it.
Additional resources
In this lesson we take a look at an extremely useful tool for communicating with the Drupal community (and many other Open Source communities as well). We will find out what IRC is, why you would want to use it, how to get connected, and some basic guidelines and tips for talking with people on IRC. We'll also explain what the IRC bot, Druplicon, is and how you can use it.
Additional resources
Naming Things Is Hard
Blog postThere is a famous quote which says:
"There are only two hard things in Computer Science: cache invalidation and naming things."
Drupal is no different. The secret sauce behind Drupal's powerful hook system is a simple naming convention and it all starts with naming your module. Choosing the right name for your module is important, as is understanding a couple of potential pitfalls you may encounter down the road. Some of which are obvious and some of which can sneak up on you.
In this lesson, we’ll take a look at how to modify the HTML output from Views, explore some of the default templates that Views provides, and learn about the various permutations of names we can give our template files to override output for everything from a large set of Views to a single field on a single View. We’ll also discuss the difference between displays, styles, rows, and fields when it comes to theming a View.