Currently, the elementor Github repository and other code have been placed directly with the module folder. These should be installed using composer. All the libraries, commented code, and files not needed in the module should be removed.
Issue fork elementor-3251877
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gaurav.kapoor commentedComment #4
gaurav.kapoor commentedComment #11
vince commentedBy installing via --> composer require 'drupal/elementor:2.0.x-dev@dev'
I'm getting the error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/elementor dev-2.0.x requires elementor/elementor ^v3.4.8 -> could not be found in any version, there may be a typo in the package name.
- drupal/elementor 2.0.x-dev is an alias of drupal/elementor dev-2.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/elementor 2.0.x-dev@dev -> satisfiable by drupal/elementor[2.0.x-dev (alias of dev-2.0.x)].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it
Read for further common problems.
Comment #12
gaurav.kapoor commentedComment #13
q8tywolf commentedHello Any work around or fixes?
Comment #14
luisalvare22 commentedHow can I solve this error:
By installing via --> composer require 'drupal/elementor:2.0.x-dev@dev'
I'm getting the error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/elementor dev-2.0.x requires elementor/elementor ^v3.4.8 -> could not be found in any version, there may be a typo in the package name.
- drupal/elementor 2.0.x-dev is an alias of drupal/elementor dev-2.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/elementor 2.0.x-dev@dev -> satisfiable by drupal/elementor[2.0.x-dev (alias of dev-2.0.x)].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it
Comment #15
ressaThanks for taking over the project @gaurav.kapoor.
I have been using Elementor on a Wordpress project recently, and it looks like the Section issues are soon solved (see Elementor listened to us! The Container solves many Problems) so it would be awesome to have Elementor available for Drupal, especially for use cases such as building landing pages quickly.
Comment #16
ressaIt looks like this project has stalled ...
The closest thing to Elementor in Drupal is probably the Mercury Editor. You can try a fully functional demo by installing the test module, see my README MR.
See also this presentation from Nov 6, 2023: Mercury Editor: Easy-to-Use, Drag-and-Drop Content Editing for Drupal.
Comment #18
mortona2k commentedLooks like there's some activity again on a 3.x branch.
The problem with composer install is that the elementor package name is incorrect - it should be elementor/elementor.
To get around this before the fix is committed, add this to your composer.json: