Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

How do I package a distribution on Drupal.org?

On Drupal.org, there isn't yet support for a distribution composer.json file, as reported on Support for distributions. The package system used from Drupal.org, to be able to build the package files ...
apaderno's user avatar
  • 97.5k
4 votes
Accepted

Is it possible to make a "private" distribution not listed on Drupal.org?

On drupal.org, a distribution is a single download containing Drupal core, contributed modules, themes, and pre-defined configuration. You could create a distribution locally, using the same tools ...
apaderno's user avatar
  • 97.5k
3 votes

In custom install profile How to delete the "Footer" menu that core provides by default?

Solved. Following https://drupal.stackexchange.com/a/186322/8938 I added the code below to my_profile_install() function inside my_profile.install file. \Drupal::configFactory()->getEditable('...
israelshmueli's user avatar
2 votes
Accepted

Mass-adding user fields using Bulk Creator

Rather than creating 200 fields on one entity (this will definitely slow down Drupal), you could group the repeating fields using field collections. Since you mention there are several fields per day,...
Neograph734's user avatar
  • 8,419
2 votes

Create a distribution

Actually, the drupal.org link above will work. At the bottom of the page there is a section that discusses bringing configuration files into the install directory. You can use Drupal Console (DC) to ...
pmagunia's user avatar
  • 697
2 votes
Accepted

How to lock distros so they can only be used on 1 URL?

I see 2 possible approaches (there might be others): Include "something" that requires an API key, whereas 1 such key can be used on 1 URL only. Offer a "hosted" version only, which uses your ...
Pierre.Vriens's user avatar
2 votes

How to hide set up database step in a installation profile?

For me the accepted answer didn't work. It would just fill the form with default values but the user would still need to click to "save configuration" button to go forward. This is not what I would ...
Cesc's user avatar
  • 251
1 vote

Changing the weight of my custom module does not affect the order of execution of my hook implementation

You might want to read this issue. Didn't read it because there are most times better solutions by adding a callback to the form build which gets executed at the right time: #process, #after_build or #...
4uk4's user avatar
  • 100k
1 vote

Should I remove "Commerce Base" from site before an upgrade?

There was a bug in upgrade_status that didn't treat profiles (like drupalcommerce/project-base ) as they should be. But instead treated it like a misbehaving module. This is fixed in this issue: https:...
firfin's user avatar
  • 250
1 vote

Is it possible to make a "private" distribution not listed on Drupal.org?

You can add your own git repositories as sources for composer. This way, you can allow composer to look for code updates in areas other than the standard (public) repositories. In composer.json, look ...
safetypin's user avatar
1 vote

Is it possible to make a "private" distribution not listed on Drupal.org?

As you are deploying the same Drupal sites for different hosting providers, and you may want to install the same modules again and again with same kind of settings. Distribution is the way to manage ...
miteshmap's user avatar
  • 131
1 vote

What is my next step?

If your website is not configured and you just has installed a pure drupal core without any modification , then you can forget about it and install a panopoly distribution instead, I mean you don't ...
Alireza Tabatabaeian's user avatar
1 vote

How to create a Drupal 8 distribution

What you need is to create an installation profile. Follow the instructions on drupal. How to write a D8 profile Move the files from the config/sync folder to config/install folder. Be sure to ...
johnatasjmo's user avatar
1 vote

Display thumbnailPhoto from Active Directory - Open atrium and LDAP modelude

You need to configure your ldap server Go to admin/config/people/ldap/servers Click edit Go to "LDAP User to Drupal User Relationship" tab Under "Thumbnail attribute" add "thumbnailphoto" (...
salihcenap's user avatar
1 vote

Right way to update a drupal distribution?

Eleven steps to upgrade a Drupal 7 distribution: Backup and/or Test locally Read the Release Notes Maintenance / Off-line Mode Copy Sites Folder Delete Existing Files Downloading Updated Distribution ...
Francewhoa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible