22/03/2017

During this lecture we spoke more about content types and how to create them, along with how the content types can be customized to post specific content that you would like to on your site.

Drupal comes pre-installed with 2 content types, those being the Article type and the Basic Page type.

The Basic Page provides the user with the ability to create, as it implies, a new page, with (depending on the editor) a plain white box that allows the entry of text, HTML code, inline CSS, PHP and various other web-based coding that you can do to provide some extra functionality. It also just allows the user to create a page with a title, and write a post such as an About Me page.

The Article type provides the user with a heading, body of text, allows the user to upload a picture and allows the user to define a set of tags to define the article and allow it to be searched for on the site.

However, there will always be a time where you will want to create content other than these 2 types, which drupal modules allow you to do.

An example of one is a Review content type.

A user could create a new content type of a review that provides a Heading, Body of Text, the upload of a picture, and also provide 5 stars underneath for the user to select as a rating for the product they were reviewing.

You could also create a form, a poll, a video post, and pretty much anything else you can think of, and there will likely be a Drupal module available for you to use.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s