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

Using image presets programmatically (programmatically use imagecache)

16/04/2025, by Ivan

! Legacy Drupal 7 code !

Compared to Drupal 6 where we used the imagecache API module, in Drupal 7 it has changed. In Drupal 6 we could use a preset programmatically as follows:


<?php print theme('imagecache', ‘my_preset’, $file_path, $alt, $title, $attributes); ?>

For example, like this:


theme('imagecache', '300x300crop', $first_photo["filepath"], $node->title, $node->title, array('itemprop' => 'image'));

But in Drupal 7, we write it a bit differently:

Show block on pages of a certain type of content

16/04/2025, by Ivan

!Legacy Drupal 7 code below!

Sometimes you need to display a block only on specific pages of a certain content type. In the standard block visibility settings, you can only configure visibility by path or user role. The following code, entered into the block visibility settings with PHP mode enabled, allows you to choose the content types on which the block will be shown.

HTML First Steps - Lesson 2 - p, div tags and their differences. br tag

16/04/2025, by Ivan

In the previous lesson, we created our first HTML document, which means you now know how to write HTML code in a text editor and view changes in the browser by refreshing the page (usually by pressing F5).

In this lesson, we’ll continue working with text and use tags like span, p, and div. We’ll also look at the br tag.

HTML first steps - lesson 3 - list tags ul, ol. Attributes of HTML tags.

16/04/2025, by Ivan

Lists are frequently used on websites — in menus, within text, or for any kind of enumeration. Let’s start with the most common type: the unordered list using the <ul></ul> tags.

UL List

The <ul> tag is used for unordered (bulleted) lists. Through HTML, we can also define the type of bullet marker.

Let’s update our HTML code:

HTML First Steps - Lesson 4 - Links (Hyperlinks)

16/04/2025, by Ivan

We’ve reached the very foundation of HTML — what it was created for — namely, hyperlinks (or simply links). Links are a way of organizing connections between different materials. Suppose you have 100,000 text files and want to create a catalog for them. Even if each catalog contains descriptions of 200 text files, you'd need 500 catalogs. Browsing through all 500 to find the right file would take a lot of time. So how do links help?

HTML First Steps - Lesson 5 - Tables

16/04/2025, by Ivan

One of the important ways to store information is with tables. Tables are used in Excel, Access, and other databases. Tables are a clear way to present data, and they make it easy to create charts and diagrams. In this lesson, we’ll look at how to create tables in HTML using the tags <table>, <tr>, <td>, <th>, <thead>, <tbody>, and <tfoot>.

HTML First Steps - Lesson 6 - Images

16/04/2025, by Ivan

Images are a very important element of a website—without them, it looks dull and unattractive. Images are used for visual design, photo galleries, or just to enhance content.

Images are inserted using the IMG tag (note that we write img, not the full word “image”). The IMG tag is self-closing: <img />, meaning it doesn’t require a closing tag.