Goes through the process of creating a hierarchical set of taxonomy terms, and then adding an autocomplete taxonomy term reference field to a content type.
Goes through the process of adding three new fields to the job posting content type including an integer text field for the salary, a select list of job type, and a checkbox as to whether or not telecommuting is allowed.
Provides an overview of the example job posting site that will be built over the remaining chapters of this video series. Joe gives a tour of the job posting content type as well as the job application content type.
Shows how to change the formatting and label display for fields, and how to control whether a field appears in the teaser, full mode, search results and other display mode contexts.
Goes through the process of creating a new content type of a job posting, and shows how to customize the Title and Body labels for this new content type.
Gives a high-level overview of the field configuration page and defines the field types, widget and display formatters. Also adds a simple text field as an example of extending an existing content type.
We'll create our very first feature and then see how it works by putting on our production site and enabling it.
Additional resources
Features project (Drupal.org)
Introduction to Drush Series (Drupalize.Me)
Hands-On: Generating Sample Content (Drupalize.Me)
https://github.com/DrupalizeMe/drupalize-lullablog (GitHub.com)
Let’s talk about taking your image uploads and turning them into unique shapes with fabulous effects using the ImageCache Actions module.
We already know that being able to set a standard for image display creates consistency and a better user experience. Drupal comes with the ability to do basic image manipulation like resizing them. By downloading and enabling another module, ImageCache Actions, we can do fancy things to those images, making your display truly customized.
I am assuming that you already know how to create Image Style presets.
For this tutorial, you need to make sure the Image module that comes with Drupal Core and you also need to download and enable the ImageCache Actions module. This can be found at drupal.org/project/imagecache_actions.
Goes through the process of creating a view of something other than content. In this case it's a view of users, and this chapter talks about other types of views of entities that are possible from different base tables.
This video series will continue the Job Board example from the Fields for Site Builders series where we will discover ways to display all of the job postings, allow people to find the one they are looking for and easily apply for it.
This video walks through how to use the new hook_page_alter()
in Drupal 7 by transforming an unordered list into an ordered list. Because all of the content, region & blocks are stored within a renderable array before being output to the page, then this new hook allows modules and themes to make changes to page before it is fully rendered.
This video walks through the basic use of Drupal 7's Render API for outputting content, and gives some hands-on experience in navigating and working with renderable arrays. We expand the Menu Magic module by creating several different kinds of page elements to show how renderable arrays work.
This screencast shows how you can use Rules to alter the presentation of your Drupal site, such as:
- Enabling, disabling and moving blocks around
- Setting HTML title element and also on-page titles
- Setting body classes
- Setting the active menu item (using Menu Position)
Some bigger questions about using Rules for altering presentation is also discussed:
- Using Rules for presentation altering is relatively heavy. (It consumes about 2.5 MB more PHP memory than Context, and has about the same loading times – judging from a first, rough comparison.)
- Using Rules for presentation altering gives a more complex UI than the interface use for modules made for more particular use cases.
- It is possible for modules to provide alternative user interfaces to Rules.
- Rules allows reusing actions in many different situations, between different modules.
- Rules (and Entity API) provides generalized data handling.
Additional resources
Rules guide (Drupal.org)
This chapter goes through the process of passing a wildcard variable to a function via an argument from the URL. It creates a MENU_LOCAL_TASK tab on the node which inverts the text to display upside down. It uses a page callback function that is included within a separate file in order to save on how much memory is used.
More Rules Link
FreeThis screencast shows some more settings in the Rules Link module:
- How to use the visibility conditions in Rules Link.
- That the entity the link is attached to is always available as a parameter.
- That you can add more variables to the Rules Link by passing them in the URL – and that you need to set up the parameters settings to tell the link how to interpret the data.
- That each link is available as a field in Views.
- That you can add parameters to links displayed in Views.
- That there is a bug preventing links for non-node entities to be displayed in Views.
Additional resources
Rules guide (Drupal.org)
This screencast shows some functionality included in Rules Bonus Pack, as an example of how to make Rules integrate with other modules on your site. In particular it shows some Views and CTools/Page manager integration.
- Condition: Check the number of results from a view.
- Action: Load the sum of a Views column as a number. (Currently only D6!)
- Action: Load the first result in a view into Rules.
- Action: Clone a full node object.
- Action: Convert a number into a date
- Event: Trigger a rule when a custom page is rendered.
- Special: Allow Rules condition components to be used as CTools access plugins.
Additional resources
Rules guide (Drupal.org)
This screencasts presents some of the settings available when configuring a bulk operations view. It covers:
- Controlling access to your VBO, and why that is important.
- Showing actions as buttons rather than a select list.
- The new cool option for selecting all items on all view result pages.
- Turning check boxes into radio buttons.
- Showing or hiding the result of the bulk operations.
- Showing action configuration on the view page.
- How to skip the confirmation page.
- How to give your actions customized labels.
Additional resources
Views Bulk Operations (VBO) guide (Drupal.org)
This screencast introduces the awesome Views Bulk Operations (VBO) module, that can be used to perform actions on objects listed with Views. The screencast covers:
- How to add VBO fields to your views, to allow actions
- That these fields are displayed as check boxes (or possibly radio buttons) in your view
- That each VBO field is tied to one type of data in the view (such as nodes, node revisions or users)
- That some VBO actions have configuration pages
Additional resources
Views Bulk Operations (VBO) guide (Drupal.org)
In this video you'll learn how to use api.drupal.org the canonical source for information about Drupal's hooks, APIs, and code documentation in order to find out information about implementing a particular hook, making use of a particular function or library of functions, and even gaining a better understanding of some of the big picture concepts behind Drupal's code and APIs.
Walks through some of the basics elements that are required and common for all Drupal modules. Then we create a simple demo module to see how it works.
This screencast shows how to repeat scheduled events – in this case sending repeated reminders to users who have not logged in for a month. The screencast covers:
- How to set up a component for scheduling (as seen before)
- The point of re-using an ID for scheduled tasks, to avoid duplicate reminders
- The trick of finding a good triggering event for scheduling (which is not always easy)
- The trick of having a component schedule itself upon completion, thereby repeating the scheduling
- How to delete scheduled tasks, and why that may be a good idea
Additional resources
Rules guide (Drupal.org)