Loading an Entityform into a Block

To load an Entityform into a block, there are three ways of accomplishing this:

There is a module for that

Allows to load a specified entity form as a block.
After enabling the module, the entityforms will have an optional checkbox to make them a block.
Entityform block

Leveraging Entity API and Views

It is possible to quite easily do this using views. I got this from https://drupal.org/node/1599352#comment-7040050 , thanks @drupov

Creating nodes

On the first page you see as an administrator on a new Drupal site, there are no less than three links to add new content – one in the sidebar, one in the shortcuts at the top of the page, and one right in the middle of the page. (See figure 1.1) They all open the administrative overlay, allowing you to create either an Article or a Basic page. (See figure 1.2)

Articles and Basic pages are two node types or types of content. Clicking on any of the type names will give you a form used to build a content of that type. This is called the node form. The forms used for Articles and Basic pages are different, but they work the same way. You get a number of fields where you can input information, and you have buttons for previewing or saving the piece of content. (See figure 1.3)


Figure 1.1: A Drupal standard installation without any content – click add content to create your first node!


Figure 1.2: By default, nodes – content – come in two flavors: Articles and Basic pages.

Below is a description for the fields available in the Article node form.

    Adding content on Drupal 7

    In this example you will learn how to add content to a Drupal 7 site.

    Before we begin: Make sure you are logged in as a user who has the right to create content – ask your system administrator if you are not sure; otherwise, some of the fields you need to select will not be visible.

    1. Select Add content from the front page (either in the Navigation menu or one of the menus un the header.
      Add content
    2. This brings up a screen asking what type of content you wish to add.
      Select Article
    3. Select Article. The only major difference between Basic Page and Article is that you have the ability to upload an image when creating an Article; a Basic Page is for a static page.
    4. A form will appear allowing you to enter information for your Article.
      Add Content Form
    5. Enter a Title for the page in the Title text box: for example, Test Article.
    6. In the Body area enter some text. If you have an already written block of text for your site, you can just cut and paste it into this area.

    Working with content types and fields (Drupal 7 and later)

    In Drupal, a Content Type is a pre-defined collection of data types (Fields) which relate to each other by an informational context. In this sense, "context" means "parts that should be considered as a correlated whole."

    Subscribe with RSS Subscribe to RSS - Adding Content