Install Distribution on Existing Drupal INstallation - drupal

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.

Related

How to upgrade a module already distributed with Drupal Commerce?

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

How do I use custom binary in my dokku host?

Part of my code requires me to run pdftotext directly. I'm not sure how to install it from my dokku installation, any help would be great.
Thanks in advance
You can install custom packages via apt using the dokku-apt plugin. Install that plugin and add a file called apt-packages to the base of your code repository. This file should have the following as it's contents:
poppler-utils
The poppler-utils package includes pdftotext, so on your next deploy, this file will be picked up and the plugin will automatically install the package for you.

How to install npm packages in Atom?

I'm trying to add WordPress Coding Standards to ESLint in Atom. Unfortunately there are no package I could add via Atom's installer. I've found one (I think) suitable package here but whenever I try to install it using Windows CMD or XAMPP shell I get "npm is ot recognized as internal or external command". I installed ESLint for Atom, so I've got the prerequisite met. Is it possible to add it to Atom on Windows at all?
Cheers, best regards.
Ok,
I digged into the topic and pparently I didn't have Node.js installed so I couldn't manage any npm packages. After installing Node.js I was able to install WordPress-Coding-Standards. Unfortunately I installed the wrong package at first, which was eslint-plugin-wordpress. After trying to set it up eslint started giving me plenty of errors. Then I found out (with a little help from guys on Github) that there are other WordPress Coding Standards plugin for eslint - eslint-config-wordpress which I installed as well. Now everything works like a charm. It's good to learn something new everyday.
Thanks, Dan.
EDIT
Now above packages are deprecated, use #wordpress/eslint-plugin

Wordpress plugin install fail

Today I am starting a new project and I am stuck on wordpress plugins installation
Downloading install package from
https://downloads.wordpress.org/plugin/types.1.8.11.zip…
Unpacking the package…
Installing the plugin…
The package could not be installed. No valid plugins were found.
Plugin install failed.`
I ve tried different plugins and all of them produce this error! any ideas?
you can use class-tgm-plugin-activation to install your plugin automatically at your theme
visit and download, https://github.com/TGMPA/TGM-Plugin-Activation
include at your functions
I managed to sucessfully install and activate it, right now. I used wp-cli, but that should not make much difference. I can recommend it though, as it is more verbose, which helps tracking down errors
What is the result of
ls -l .../path/to/wordpress/wp-content/plugins
Assuming you are on Linux/Unix. Do the other plugins have different permissions/users?

Install module "Devel" on Drupal 8

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.

Resources