Viewing posts tagged fields

Creating Block Types with Bean

Whether you're a Drupal beginner or veteran module developer, one thing everyone understands about Drupal is the core block system is very limiting. There are lots of modules out there that attempt to make blocks more robust. Heck, site builders have even used Views as a complete block replacement. There is one module that makes blocks a ton more useful and that is the Bean module (Block Entities Aren't Nodes). The Bean module replaces a lot of modules we used in the past to give blocks more power and function. Drupal 8 even works just like the Bean module out of the box. Instead of using Views or making nodes blocks, Bean gives us fieldable block types.

Drupal 8 Core, Now with More Fields

One of the the things I like most about Drupal 8 as a site builder is how quickly you can get up and running on creating a new site. Although the installer takes a tad (insert jokes here) longer than Drupal 7, you get so much more out of the box. No need to install Drupal and head to Drush to download/enable a handful of modules just to get your site ready. For example, just to get something like an email field was yet another download. Of course, there is Views in core, but another great thing is a much larger plethora of field types. Now in Drupal 8 there are a handful of useful fields in core:

Release Day: Get Started with Field API

Robust content modeling is made possible in Drupal 7 through fields. Attaching the right field types to entities makes it possible to bend your Drupal site to your will and scale it according to your needs. There are a lot of field types and field formatters provided in Contrib that you can download and install as modules to extend your Drupal 7 site. But what if you want to collect, store and format data in a particular way not provided by core or contributed modules? By providing custom fields and formatters through a module, you can control how your data is stored as well as provide one or more ways for the data to be output—through field formatters.

Release Day: Reviewing Our Job Board Project

Today we are going to wrap things up on the Using Drupal Chapter 3: Job Board series. We've created a site that meets the Epic University requirements, and learned the fundamental building blocks of putting together a Drupal site. In our last two lessons we are going to look at modules we could use to make our site even better, and then we are going to do our final tour and review of the site we've built, looking at what we've done, and how we built it.

Release Day: Building with Fields and Views

This week we are moving on to the next chapter of the O'Reilly Using Drupal series with Using Drupal Chapter 3: Job Board, where we will build out a job board to get familiar with the two fundamental building blocks of Drupal sites: Fields and Views. Through this series we'll create two new content types with a variety of fields, and then explore using Views to create custom lists of that content, including creating dynamic, contextual listings.

Release Day: Entity Admin UI and Fields

This week's installment of the Working with Entities in Drupal 7 series picks up the work on our new custom entity to work on creating an administrative UI, then dive into more nitty gritty with the entity controller. We'll look at how you can override the default controller to gain more control over how your entity gets rendered, and to add some of our own tweaks to the save processing. We wrap this week up by making our entity fieldable by using bundles.

Views Demystified

I love Views! I might be a little exuberant, but seriously, it is by far, in my humble opinion, the best contributed module. And I'm not the only one that feels that way! Check out the module usage stats on Drupal.org. As the most-downloaded contributed module, Views gets a lot of well-deserved attention. We've published a new series of videos, Intro to Views for Drupal 7, to walk you through this wonderful Drupal tool.

Video Series on Image Styles

When I’m learning any software, the first thing I want to do is play with all the features and make my creation pretty, using all the bells and whistles. I remember the first time I played with PowerPoint…I had swirling text and zig-zagging images everywhere.