I´m trying to install de Devel module of Drupal 8, I was reading the README.txt of Project/modules of Drupal, I have read this:
Placing downloaded and custom modules in this directory separates downloaded and
custom modules from Drupal core's modules. This allows Drupal core to be updated
without overwriting these files.
I have downloaded from the official website Drupal - Devel the 8.x-1.x-dev version, to Drupal 8, and when I paste the module (after descompressed) in Project/modules, I have cleared the cache and Updates the "Extends" menu, but I can´t find my "Devel" module.
Do I need to install and configuring the FTP server?
just try with drush .
drush en devel -y
If you are using composer try
composer require drupal/devel
Maybe you could try with
/admin/modules/install and let Drupal put it where it should be placed.
Related
Drupal Commerce 1 has included Crumbs 1.10.
I need to upgrade Crumbs to 2.7, and this version isn't included with Drupal Commerce.
How can I upgrade it without breaking Drupal Commerce distribution (and update) ?
Thanks.
Composer Package Management:
If you are using Composer to manage the installed modules/distributions for your Drupal 7 site, you can set the minimum version constraint and then run composer update for the Crumbs module:
composer require 'drupal/crumbs:^2.7'
composer update 'drupal/crumbs'
Traditional/Legacy code repositories:
For traditional/legacy code repositories that don't use composer, you can:
Backup your database/codebase
Download the desired version of the module
replace the older version of the module (typically found in your codebase's /profiles/contrib/commerce/modules/ directory or /modules/contrib/ directory).
Deploy the updated module code.
Run update.php or drush updatedb.
Clear caches.
In the case that the Drupal Commerce profile has a fixed version dependency for Crumbs 1.10, you should be able to update the version constraint in the .info file for the module.
You can use drush command as follow to update a specific version of module.
$ drush pm-update views_send-7.x-1.x-dev
Thanks
I am currently working on a CMS Website new installation of Drupal. I need to enable Metatagging in my website.
In order to do so I have installed all required modules, but somehow drupal is not detecting the those modules. Please refer below screenshot.
I have used this link of metatag module to download and install : https://www.drupal.org/project/metatag
Following are the version details of various components I am using,
Drupal : 7.35
PHP : 7.2
OS : Ubuntu 18.04 LTS
MySQL : Ver 14.14 Distrib 5.7.24
Please help me with the resolution to this problem. I am open to any other way as well to get metatagging in place.
Thanks already !
As you can see in the screenshot, required dependencies are "missing". Make sure you have downloaded Token, Ctools and Google Analytics modules, for Drupal 7, and extracted them under sites/all/modules folder. Then their flag should be "disabled". After this, you can install your desired modules alongside with their dependencies.
The wonder is that your "system" module is missing too!! its a Drupal core module, perhaps your Drupal installation is corrupted. Try re-extracting and overwriting Drupal core zip file.
I can not find any documentation to migrate my drupal 7 subtheme to drupal 8. I migrate, but everytime I migrate, my UI is broken and if I try installing bootstrap on Drupal 8 I get:
Drupal\Core\Config\PreExistingConfigException: Configuration objects (bootstrap.settings) provided by bootstrap already exist in active configuration in Drupal\Core\Config\PreExistingConfigException::create() (line 65 of core/lib/Drupal/Core/Config/PreExistingConfigException.php).
Any help is appreciated. Thank you.
Remove configuration object before reinstalling Bootstrap
This configuration object, i.e. bootstrap.settings probably exists because it has remained over from last time you installed bootstrap. So you have to delete this configuration object before you again install bootstrap.
If you have drush version 8, try this command:
drush config-delete bootstrap.settings
Then try reinstalling bootstrap. This should definitely work.
I installed Drupal 8 via composer with:
composer create-project drupal-composer/drupal-project:8.x-dev my_site --stability dev --no-interaction
This downloaded all the files and run composer install. According to this tutorial - https://www.drupal.org/node/2718229 - doing so this way will also configure composer.json to allow installation of modules, themes etc too via composer. Nice
However, I'm trying to install a new module:
$ composer require drupal/codesnippet
Using version ^1.6 for drupal/codesnippet
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing drupal/codesnippet (1.6.0)
Downloading: 100%
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles
However, when I go to Admin Bar > Extend > Install new module, I can search for the module and it says it's not installed yet. If I try to enable/install it from there it tells me I need to download and copy to the /libraries directory:
Before you can use the CKEditor CodeSnippet module, you need to download the codesnippet plugin from ckeditor.com and place it in /libraries/codesnippet. Check the README.txt for more information. Get the plugin here. (Currently using CodeSnippet version Plugin not detected)
Are these two completely different methods? How can I complete the installation with composer of this module?
Composer is a dependency manager, and whether or not third-party dependencies are included depends on how the module author managed their dependencies in the first place.
You aren't going to be able to complete the install via Composer alone, if a specific dependency isn't present on the repository that Composer downloads its packages from.
You're going to have to download the CKEditor CodeSnippet module from ckeditor.com. Composer can't manage that dependency for you, because that CKEditor plugin isn't a Composer package.
You can download it here: http://ckeditor.com/addon/codesnippet
Martyn, I guess you are confusing two different things into the same one: the drupal module and the external library required by the module.
The Drupal module codesnippet (https://www.drupal.org/project/codesnippet) is just a drupal integration module for the CKeditor addon with the same name, which you can download it (http://download.ckeditor.com/codesnippet/releases/codesnippet_4.6.2.zip) and place it in the drupal webroot /libraries folder manually (in your case my_site/web/libraries/ to be more specific - you have to create it if does not exist already).
Then you should be able to enable the drupal module.
PS: You could also add the library requirement in the composer.json library manually, which might be just a bit more complicated for beginners, because you also have to manually specify other things like a repository type, url and installer-paths for the extra external library that you need , but might be easier in the long run to deploy new Drupal8 installations with the same requirements just with a proper main composer.json file, without the need to go and manually download external libraries. There is a similar comment of mine(user zet) that you could read on this drupal dropzonejs module issue https://www.drupal.org/node/2853274
How do I Install Distribution on Existing Drupal Installation, I wanted to install OpenEnterprise on a newly installed Drupal by Softtacolous? I tried going through the themes route by did not work.
Don't use Softacolous and do manual install and it solves it.