OREGON STATE UNIVERSITY

Content Type

How do I configure automatic revision tracking for a content type?

Some types of content, such as polls, typically won't require revision control.  For other content that is deeper and more complex, though, such as book content, a user may wish to just automate revision tracking so it always happens.

The administrator of an OSU Drupal 6 site can do this.

What is a Poll in Drupal?

The Poll module is a core optional Drupal module that allows permitted users the ability to create simple, single question polls and a set of possible answers.  By default, anyone, even anonymous users, can take part in a Drupal poll.  After the poll is taken, the user will immediately see a simple, real time bar graph that displays the poll standings at that point.

The Poll content type is used to create the poll.  Additionally the Most Recent Poll block is provided to allow for a small poll block to be put into a sidebar region.

What is a Story in Drupal?

The Story content type is one of the two generic content types that are supplied in the Drupal core installation.  The Story content type is very similar in appearance and functionality to the Page content type.  The only difference in the OSU Drupal 6 installation is that a Story content type is set up to automatically save as a draft, whereas a Page content type is set up to automatically publish when saved.

See Also: 

What is CCK?

CCK is an acronym for Content Construction Kit, a contributed Drupal module that has been included in the OSU Drupal 6 installation profile.

Through the use of CCK, a permitted user can change workflow settings and customize fields on an existing content type, or create entirely new content types as needed.  This can be handy for cataloging content while also ensuring that the display of the cataloged content is consistent with others like it.

The CCK module is one of the most popular, well-maintained, and extended contributed modules at drupal.org.  In fact, it has proven to be so useful that the module has been absorbed into the Drupal 7 core installation, under the name Fields.

How do I set up the Feature Story in OSU Standard?

The Feature Story is an attractive content display intended for the front page of an OSU Drupal site using the OSU Standard theme. This feature includes the following:

  • A large, summary view rotating block for the front page, that is linked to the full story.
  • A smaller, summary block that randomly reloads stories and can be displayed nicely in the middle sidebar.

What is a node?

The term node is a catch all term for any content form in use in a Drupal site. So this means that a Page is a node, so is a Story, and a Book page - and any other content type that might exist in Drupal.

What is the difference between a node and a view?

There is a very big difference between a node and a view, one that often confuses people who are new to Drupal.

A node is a single entry that uses some content type submission form.  This can be a Page, a Book Page, a Story, etc.  If you were to draw a visual map of your Drupal site, where each piece of content was a point that was connected to other points, each point would be a node.  The term node is specific to Drupal.

A view, on the other hand, is a term that is used commonly in the Relational Database Management field.  A view, in general, is a collection of data that is lumped together and displayed as a group.  A good, general example of a view is a basic data report.  In Drupal, a view can be a collection of nodes that are somehow related, a collection of data about users of the site, or a collection of data about the site system - among other things.

By default, in OSU Drupal, the Author role is permitted to create and edit all default node types.  This includes the following:

  • Announcement
  • Biblio
  • Book Page
  • Page
  • Poll
  • Story

Conversely, by default, in OSU Drupal, Authors can not create or edit a view.  View development using the Views module is actually an advanced topic that requires either some type of training or previous experience.

How to Tell the Difference Between a Node and a View

One easy way to spot a view is the presence of a list of something that automatically updates.  For example, if you have a list of employees on your Drupal site that automatically updates when you create an Employee node, then the list that you're looking at is a view.

Another way to spot a view is if you are logged in and permitted to create a particular content type, but you do not see the standard View and Edit tabs used for a node.  A view does not have these.  If you see, for example, an error in an entry that is displaying in a view, you will need to track down the node either through a link to the node that may be supplied in the view, or through the content list at Admin menu > Content management > Content.