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 and jQuery. Lesson 8. Connecting jquery ui, jquery ui tabs to drupal 7

16/04/2025, by Ivan

File code

/sites/all/modules/custom/custom.info

name = custom
description = custom module
core = 7.x

/sites/all/modules/custom/custom.module



CSS code:

#tabs {
  border: 0px;
}

.ui-tabs-nav {
  background: none;
  border: none;
}

HTML code in node-product.tpl.php:


 

First, you need to create a custom module.

https://rupalbook.org/content/iz-chego-sostoit-modul-drupala

Next, you need to set the custom module weight higher than core modules. To do this, go to the database via phpMyAdmin and set the module weight to 100 or more. You can find the module entry in the "system" table:

System db table

Now you can include jQuery UI plugins in the custom module like this:



The code can be placed at the very beginning of the module after the opening PHP tag.