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

Blog

Javascript Lesson 1 Variables and Operations on Them

16/04/2025, by Ivan

I won't beat around the bush describing every variable type and operation—we don't need that. Our main goal is to grasp the basic syntax of JavaScript, then move on to learning jQuery, and from there you’ll be able to expand your JavaScript knowledge on your own. If you're more interested in studying JavaScript in-depth and don't care for working with this amazing framework, you should probably find a more comprehensive JavaScript textbook. But if you want to build sites in Drupal and learn jQuery afterward, then we're on the same path. So let's get started.

Javascript Lesson 6 Objects, Their Properties and Methods

16/04/2025, by Ivan

This is the final JavaScript lesson necessary before starting to learn jQuery. But it's not the last JavaScript lesson I'll make, because the JavaScript language is much broader and has far more to offer than what I’ve covered in these lessons.

In this lesson, we’ll look at another JavaScript data type: objects. Objects can be compared to arrays whose elements are variables and functions. The variables inside objects are called object properties, and the functions are called methods. You can read more about objects in PHP here:

Drupal and jQuery

16/04/2025, by Ivan

What is jQuery?

jQuery is a wonderful JavaScript library that allows you to create great web effects with just a few lines of code. As stated on the official jQuery website:

"jQuery is a JavaScript library whose motto is: writing JavaScript code should be fun. jQuery handles common, repetitive tasks, cleans up layouts, and keeps code short, beautiful, and understandable."

Drupal and jQuery. Lesson 1. Connecting a file with jQuery.

16/04/2025, by Ivan

```html

jQuery is a very handy tool when you need to hide something, modify it, move it, insert it nicely, and disappear. Very, very convenient and very simple. Let's connect a JavaScript file. To attach files to a theme, we use the `.info` file in your theme. To include the file, add the following line to your theme's `.info` file:

scripts[] = js/custom.js

where `js/custom.js` is the path to the JavaScript file in your theme.