Skip to content

royoluis/block_form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module description and functionality

This custom module creates a custom block with a custom form.

The form has been developed to allow users to register for an event.

image

All the submissions will be stored as nodes of a new Content Type ("Registration").

Changes on your site after enabling this module

Two elements will be added to your Drupal site:

  • A new Content Type called "Registration".
  • A custom block with a custom form for user registration.

Steps to active the custom block

  1. Install the module.
  2. Go to /admin/structure/block and click on "Place block" in the area you wish. For example: "Sidebar".
  3. image

  4. Click on "Registration form".
  5. image

  6. You will be redirected to /admin/structure/block. Click on "Save blocks".
  7. image

  8. The block will be visible on your site.
  9. image

  10. You will find all submissions in the Content section of your site. Check out "Registration" nodes.
  11. image

Recommendation

I recommend adding a CAPTCHA to improve the security of the form created by this module.

Installation

Install as you would normally install a contributed Drupal module.

See: https://www.drupal.org/node/895232 for further information.

Feel free to share and use this custom module.

About

Drupal - Create a custom block with a custom form.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages