Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Drupal 7 hook_block_info() and hook_block_view() display information in the block

17/04/2025, by Ivan

In the previous lesson, we created a module for Drupal 7. In this lesson, we will continue to enhance our module. We’ll add a block output using hook_block_info() and hook_block_view(). This block will display the latest users on the site, each with a link to their profile page.

Let's start with a description of hook_block_info():

Defines all the blocks created by the module.

This hook tells Drupal which blocks the module will display and can also describe block configuration options.

hook_permission Drupal 7 access permissions for different roles

17/04/2025, by Ivan

In previous lessons, we displayed pages and blocks in various places, and we also used the properties 'access arguments' and 'access callback' to set access restrictions for pages. In this lesson, we’ll create a more flexible way to manage access rights to operations via administration pages. For this, we’ll use hook_permission() (in Drupal 6, it was hook_perm()).

hook_permission()

Defines permissions for users.

Form API Drupal 7 creating forms on Drupal

17/04/2025, by Ivan

In previous lessons, we got acquainted with the hooks hook_block_info(), hook_block_view(), hook_menu(), hook_permission(), and now we can programmatically create as many pages and blocks as we need. In this lesson, we’ll explore the Drupal 7 Form API for creating forms. We'll build a form for administering module functionality and try to use as many of the hooks we've already learned to solidify our skills.

To start, we will display 3 blocks. I believe this won’t be difficult for you.

Drupal Theming (styling, templates)

17/04/2025, by Ivan

From the first two sections of the Drupal tutorial on drupalbook.org, you learned how to install a site, add content types, create materials of various content types, and display those materials using Views. In the following sections, you may have learned about HTML/CSS. Now it’s time to talk about how to change the appearance of these materials using CSS.

Drupal 6/7 website theming. What does a template consist of?

17/04/2025, by Ivan

Hello everyone!

I hope you've already watched the brief introduction to HTML and CSS. Now you're ready to start creating Drupal themes based on PSD mockups. Below are links to the HTML and CSS "tutorials":

HTML

CSS

The following videos might seem difficult to understand at first glance, but don’t worry — we’ll go over everything step by step in future lessons. Come back to this article and use it as a reference whenever needed.

Theming Drupal lesson 1 Readme file Zen theme

17/04/2025, by Ivan

Where to Start?

Hooray! You’ve opened the right file first. The first thing people notice when they download the Zen theme is that it contains far more files than other themes.

Don’t worry! You don’t need to know everything right away to create a Drupal theme.

Zen will give you more than you knew you needed and will patiently wait as you study the documentation and comments about it.