More View Panes
FreeThis screencast covers the following topics:
- Setting name, description and category for view panes
- Overriding the title of the view
- Overriding the number of items to display
- Some other override options
- The "context is optional" setting for argument input/contextual filter value input
This screencast covers the following topics:
- What is Panels?
- Selecting Panels layout
- Disabling block regions on a panel page
- Adding content to a panel
- Outputting individual node fields in a panel page
- Manually setting the title on a panel page
- Inheriting page title from a panel pane
This screencast covers the following topics:
- How to create additional variants to a custom page
- How to set selection rules with more than one condition
- Why the order of variants is important, and how to change their order
This screencast covers the following topics about the Page Manager module, which is a module included within CTools.
- The basic framework of Page manager – creating custom paths and assigning content/reactions to them
- Mentioning some modules that can be used with Page manager, such as Panels and Contextual administration
- Overriding node templates to allow customized content/reaction
- Introduction to variants
- Introduction to selection rules
- Using the HTTP response code variant type, and using it for redirections
- Introduction to context or contextual objects
This screencast shows how to use fields when scheduling Rules components. In the example we are also using the Flag module, to allow people to sign up for reminder e-mails 24 hours before an event starts. The screencast covers:
- Using flags to load user lists in Rules
- Scheduling a rules component from a triggered rule
- Some words about rescheduling the evaluation if the event date should change
- Using conditions to make fields available in Rules configuration
- Using a date field to set evaluation time
- Adding an offset to the evaluation (-1 day)
- Verifying the configuration by executing the action set manually
Note: It would have been smarter to use the “Before saving content” event for this rule – to make it act on both new nodes and updates of existing ones. If combined with a check to see that the event is in the future, you would actually have pretty good notification system!
Additional resources
Rules guide (Drupal.org)
Flag is a module used for marking nodes, comments or users with an on/off marker, for example for flagging spam comments, selecting content to promote to a sidebar, or marking other users as friends. What makes Flag useful is primarily its integration with the Views and Rules modules, and this series will make sure to cover those important pieces, too.
Field Templates
FreeIn this lesson we cover how you can do some powerful things with Display Suite in regards to field templates. Using the Display Suite GUI there are lots of configurations and offerings to get the markup just the way you want.
Additional resources
Lists and Loops
FreeThis tutorial shows how to manage lists in Rules – data types corresponding to arrays of other data types. It covers:
- How to loop through multiple-value data in Rules, to act on each individual data entry
- That lists are their own data types in Rules
- That each primary data type automatically gets a list type as well
- How to add data to lists
- How to only add data if it is not already present
- How to select whether to add new data to the start or end of the list
- How to load new entities into Rules (by id)
- A few words about other ways of fetching entities, such as by property or with Views (through VBO or Rules Bonus Pack)
- That Rules configuration are actually entities
- How to disable reaction rules
Additional resources
Rules guide (Drupal.org)
Flag and Rules
FreeThis screencast covers the following topics:
- Where to find and how to apply the patch currently necessary to use Rules with Flag
- How to have a rule react on flagging/unflagging a piece of content
- As an example: How to change access to a node based on flagging status
If you need a refresher on Rules, check out the Learning the Rules framework series.
In this lesson we cover downloading and installing the WYSIWYG module. We show the relationship between the WYSIWYG editor and Drupal Text Formats. We go over the basic settings of the WYSIWYG module, how to download and install an editor, and configurations necessary in Text Formats to make things work properly.
Use this handbook page on Drupal.org to determine which version of TinyMCE is supported with CKEditor: Editors.
Additional resources
Basics of Rules Link
FreeThis screencast shows the Rules Link module, and some basics in how to use it. It covers:
- That Rules Link adds links to entities (and that you set up each link separately).
- That these links triggers rule sets.
- That the links may be displayed as links on (for example) comments and nodes.
- That Rules Link is useful when you previously used Flag, but didn't really need the 1/0 data that Flag provides (but rather just the Rules trigger effect).
- That access to each configured link can be controlled using the standard permission system.
All of this is demonstrated by adding a "block spammer" link to comments, allowing administrators to block the comment author and delete all comments written by him/her.
Additional resources
Rules guide (Drupal.org)
This screencast shows how to go about debugging Rules configuration. It covers:
- Enabling the debug information in Rules, showing rules evaluation.
- How to drill down into Rules’ debug messages.
- That most (or all) times, it is your configuration and not the Rules engine that has the bug.
- That the most common bug is condition that evaluates in an unexpected way.
- How to see how long time rules execution takes – and why/when this may be important.
- How to use the debugging action in Rules, to inspect the data in Rules.
Additional resources
Rules guide (Drupal.org)
This screencast quickly shows the events, conditions and actions that Flag exposes to the Rules module. It covers:
- Event: Flagging and unflagging entities
- Condition: Flag is set on an entity (by a particular user)
- Condition: An entity has at least a number of flaggings
- Action: Load the list of users flagging an entity
- Action: Set or remove a flag (for a particular user)
- Action: Remove all flaggings (for a particular user) – or save a particular number of flaggings
Additional resources
- Flag project (Drupal.org)
- Rules project (Drupal.org)
- Rules guide (Drupal.org)
- Flag module documentation (Drupal.org)
This screencast shows how to work with export and import of Rules configuration, in particular using the Features module. It covers:
- Why you should use the Features and Strongarm modules.
- How to export Rules configuration with Features.
- How to import Feature-exported Rules configuration to a site.
- What reverting rules configuration means, and how to do it from Rules or Features.
- How to (eventually) export Rules configuration manually, and some words about the high readability in the Rules export code.
- How to import manually exported Rules configuration, including some available options/tweaks.
- Why configuration management is an important issue for Drupal.
For more information and tutorials on the Features module, check out the Drupal Deployment with Features & Drush Series.
Additional resources
Rules guide (Drupal.org)
Display Suite is a module that controls the display of your notes, users, comments, and any entity that's available in your system.
In this video, I will cover the installation of the module and some quick overview of all the menu items that will be made available if you install Display Suite, through the three modules that are its components: Display Suite, Extras, and Search Display.
Additional resources
I'm always asked about Drupal: "Where is the editor?" Well, this series is going to answer that and teach you everything you need to know about WYSIWYG.
I’ll cover the WYSIWYG module and other modules that allow us to bring media, especially images, into our content. I'll cover best practices for using a WYSIWYG module, how you can use other modules, and various methods of getting images into your text areas with WYSIWYG or with just an image field, and I'll explain the differences among various methods.
Additional resources
This screencast covers the following topics:
- Creating user flags
- Using user flags in Views to limit the nodes displayed
- Using a double Views relationship to access the flagging user
- Using contextual filters on the flagging user
In this video Michelle takes a look at our example site, My Town Sports, from a member's perspective. We can review a list of groups, subscribe and unsubscribe, and create content for a group we belong to.
Additional resources
Once you have your site up and running it is very important to keep your site up to date and secure. Both Drupal core and contributed projects continue to improve the software with bug fixes and security updates. In this chapter we look at using the core Update Manager, and explain how to read the various reports about our site's status. Before we walk through the process up updating a contributed module, as well as our version of Drupal core, we also make sure we do a backup.