Voting starts in March for the Drupal Association Board election.
On this page
This section covers developing and creating content.
A content type defines the way in which content is collected and displayed. Content types are a container for all content with the same characteristics (e.g. a "Bio" might contain different kinds of information than an "Event"). Some fields are part of all content types (e.g., basic data such as a title, date, and author). Some modules create their own content types and some don't. Those that do can have unique fields defined in their content type (e.g., the Location module adds fields such as city, country, longitude, and latitude). Additional custom fields of many kinds can be added by following the Structure>>Content Types menu, which is part of Drupal 7 Core.
Content types have settings that can be modified by editing the content type and managing the fields.
Content types provided by core Drupal modules
An Article is ideal for creating and displaying 'news' that informs or engages visitors with about what's important to your company or website and why they need to know about it. Press releases and site announcements may all be created as an Article. By default, Articles are automatically featured on the site's initial home page and provide the ability to post comments.We can also add new fields in article content type by clicking on structure>content type>article and then clicking on field settings where we can add new fields.
A Basic page is a content type for creating and displaying information that rarely changes, such as an "About us" section of a website. By default, a Basic page entry does not allow visitor comments and is not featured on the site's initial home page.
A Blog entry is ideal for creating and displaying content that informs or engages visitors or creating your own personal blog. The Blog entry content type is available if the Blog module is enabled. The Blog module can also be enabled in such a fashion to allow each user their own personal blogs on the site. By default, a Blog entry is automatically featured on the site's initial home page, and provides the ability to post comments. Learn about creating a Blog
A Book page is a simple method for creating and displaying documents such as tutorials, instructions, references, and books. Each Book page can have numerous child-pages added on to it, with or without comments. Through permissions it can even be set that a user can enter child pages, but not edit or add Book pages themselves. The Drupal.org Community Documentation is one of the most comprehensive examples of the Book content to be found. Learn about creating Books
A Forum topic is content that is part of a forum. Learn about building your own Forums.
A Poll is ideal for letting the visitors give their opinion on a certain subject. Learn about creating Polls
Let your imagination run wild
Drupal lets you create your own content types. Creating a customized content type allows you to make your own fields where you can choose the titles and type of fields (text, select, checkboxes etc.). To do this go to Structure > Content types to start building your own content types. An essential part of this is creating, editing, and managing Fields.
To create content got to Content > Add content
Select the content type you want to create. There are usually one or more fields within each content type. The example below refers to a Basic page.
- Title: short description of the content of the page.
- Body: where you put the text for the page. The "Input format" controls what code can go in the Body field. There are three default options: filtered HTML, PHP code, and full HTML.
- Menu settings: used to make the content an item in one of your menus. It's an efficient way to create menus. Learn working with the Menu.
- Revision information: log message to provide information that might be useful to other authors who may edit your document later, or provide your rationale for making edits to your own or other people's content. The log message is not visible to users without the appropriate content editing rights.
- Comment settings: settings that can be specified for an individual piece of content.
- If you enabled the Path core module or added PathAuto, you'll have URL path settings next. You can enter a "normal" name here rather than being required to use "node/2" when you refer to it later on. PathAuto will automatically create a URL based on your page title.
- Authoring information: the post date and the name of the author. This can be used to control the order in which content appears in a list that is sorted chronologically.
- Publishing options: settings to define the visibility of the content. Only published content shows up on the website. You can also promote content to the front page and make the content item sticky to the top of lists.
The final step is to preview your content and to submit it.