Installation EBT modules without composer

11/11/2024, by Ivan

Notice: Use Composer installation if it's possible. Without Composer it's hard to update zoo of Drupal modules.

Sometimes we don't have access to console and composer, for example on shared hosting. But you are still able to install EBT modules on it. On each Drupal.org project page you can go by release version link and download EBT modules from Drupal.org one by one:

https://www.drupal.org/project/ebt_core

https://www.drupal.org/project/ebt_tabs

https://www.drupal.org/project/ebt_webform

https://www.drupal.org/project/ebt_slideshow

Download EBT Core module

For Drupal installation I will use tarball archive from Drupal core page:

https://www.drupal.org/project/drupal

Drupal releases

Drupal tarball

After Drupal installation we need to download all modules and all dependant Drupal modules. For example, all EBT modules require EBT Core module:
https://www.drupal.org/project/ebt_core

EBT Core also requires Field Group and Media Library Form Element modules, you can check dependencies in composer.json file:

/modules/custom/ebt_core/composer.json

Drupal EBT Core composer.json

https://www.drupal.org/project/field_group

https://www.drupal.org/project/media_library_form_element

Firstly enable dependencies Field Grop, Media Library Form Element modules. 

EBT Webform module requires, Webform module as well:

https://www.drupal.org/project/webform

EBT Tabs requires bunch of own modules:

/modules/custom/ebt_tabs/composer.json

https://www.drupal.org/project/block_field

https://www.drupal.org/project/jquery_ui_tabs

https://www.drupal.org/project/paragraphs

https://www.drupal.org/project/viewsreference

You need to go through each dependant modules and check their composer.json as well to get dependencies and install them manually. It's not possible to install Drupal module without dependencies:

JQuery ui

Now when you have all modules downloaded:

all custom modules

Let's install modules one by one. Install EBT Core first and after that install other EBT modules.

Installed EBT modules

If you installed, for example EBT Slideshow:

https://www.drupal.org/project/ebt_slideshow

dependencies in composer.json

It will require levmyshkin/flexslider library:

https://packagist.org/packages/levmyshkin/flexslider

https://github.com/levmyshkin/flexslider

Now you need to download files for this library manually and put in /libraries/flexslider folder.

https://github.com/levmyshkin/flexslider/tags

https://github.com/levmyshkin/flexslider/releases/tag/2.7.4

EBT Flexslider

Extract library archive, so all files are stored in /libraries/flexsldier:

EBT Slideshow

You can check right paths in ebt_slideshow.libraries.yml file:

EBT Slideshow libraries

After that, you will be able to add EBT blocks and display them properly:

EBT Slideshow

As you see it's possible to install EBT modules without composer. But it will be too much easy to install modules with:

composer require drupal/ebt_slideshow

Composer will download all dependencies including EBT Core, Paragraphs, all other Drupal modules and even levmyshkin/flexslider javascript library automatically. You will need only enable EBT Slideshow module on Modules page.