Join Tom Geller for an in-depth discussion in this video Creating practical rules, part of Drupal 7 Advanced Training.
- View Offline
You've seen the theory behind how the Rules module works,…we created a simple rule, and you've seen some pretty fancy applications,…using Drupal Commerce.…Now, in the next two videos, let's go a little deeper into the complexity of rules,…using a practical example.…Here's the scenario: let's say that you allow the public to create accounts on…your site, and they are allowed to change their usernames, but only people who…are on your staff are allowed to have the word foo in their usernames.…So you need to prevent anybody who's not on staff from having a username that…includes the word foo.…
To make this simulation work, I'll create a rule called staff, so we can…differentiate between company staff, and the general public.…I won't actually make that differentiation in this video;…it'll be in the next one,…but here we go. We simply go up to People > Permissions, and then Roles. We create the staff…role, and we move to its proper place above the administrator, and Save.…Now we go into the Permissions, and we just have to make one small change.…
Drupal 7 Advanced Training was designed as a follow-up to Drupal 7 Essential Training and it also dovetails nicely with our other Drupal courses, such as Drupal 7 Reporting and Visualizing Data and Create Your First Online Store with Drupal Commerce.
- Moving a site from the development environment to production
- Hosting a Drupal site
- Moving databases with phpMyAdmin and Unix commands
- Making site administration more efficient with Drush
- Backing up site data
- Moderating comments
- Migrating from previous versions of Drupal
- Working with themes
- Creating variable layouts
- Enabling social features
- Creating an online store with Drupal Commerce