Questions tagged [installation-profiles]
Installation profiles combine core Drupal, contributed modules, themes, and pre-defined configuration into one download.
125
questions
0
votes
0
answers
55
views
Installing site using custom profile gives error "call to undefined function libraries_get_path"
I have to change an already made site. It is using a different custom made Profile and not the standard profile. but when I install it, it gives error "Call to undefined function libraries_get_path on ...
0
votes
2
answers
172
views
db_update query in custom installation profile gets ignored
I am currenty working on a custom installation profile that enables modules, performs some db queries and so forth.
It also sets my default theme and admin_theme...
Nothing too special ;-)
I have 2 ...
1
vote
1
answer
57
views
How do I update a site after its installation profile is updated?
Say I decide to add a new module to an installation profile I've created and used to build a bunch of sites with. Can I easily use Drush to update all of those sites to the latest version of the ...
2
votes
5
answers
3k
views
Hooks called after installation profile is installed?
I'm stuck writing an installation profile.
There are certain things that I want to do only after the installation is completed.
I analyzed top ten installation profiles and checked the documentation, ...
2
votes
1
answer
59
views
How to add dev modules to a distribution without getting security updates warnings?
I have made a distribution, which contains some modules which are in dev state. These modules are being by drush make checked out by git. So my drupal-org.make file contains something like:
projects[...
2
votes
3
answers
581
views
How to install Drupal without interaction via web UI?
Is it possible to confgirue installation profile so it can be installed via web UI as usual but without any interaction, just the progress bar?
4
votes
0
answers
63
views
How should the code structure of a distribution look like? [closed]
I'm making a distribution and so far it consists of only one module which holds the whole code.
Since D8 is now fully OOP and has autoloader and other stuff I was wondering how should the structure ...
3
votes
1
answer
1k
views
What are the major differences in building an install profile for Drupal 8? [closed]
There is a good guide for drupal 7 which explains how to build a install profile for drupal 7. I built an install profile using it.
But I want to build an install profile using Drupal 8. What changes ...
0
votes
1
answer
412
views
custom block's BLOCK_VISIBILITY_LISTED not working on profile installation hook_install()?
Why this cannot work in my profile installation?
array(
'module' => 'views',
'delta' => 'views-block',
'theme' => $default_theme,
'status' => 1,
'weight' => 0,
'region' =&...
0
votes
1
answer
675
views
Create a user via the Installation profile
I am using Installation Profiles to automate the process of installing Drupal 7 websites
I would like to create a user via the installation profile and assign it a username, password and email ...
0
votes
1
answer
179
views
Module not found during installation
I am creating an install profile that requires, among other things, a slew of Features. Because of the intricacies of the project, which is a multi-site, I have in sites/mysite.com/modules/...
3
votes
2
answers
347
views
Automate the creation of settings.php and files directory
I am using Drush make files and Drupal Installation profiles to streamline the creation of new Drupal websites (which are created in the sites directory of my Mac).
Everything is working fine. The ...
1
vote
1
answer
540
views
Create Taxonomy vocabularies and terms in installation profile
I'm creating a Drupal installation profile(drupal 6) and want to create taxonomy vocabularies and terms. How to create taxonomy vocabularies and terms in installation profile?
1
vote
0
answers
1k
views
Update install profile- with or without drush
I'm fairly new to drupal and I'm getting used to drush. I'm trying to update my site with drush up and it seems to update core, contrib modules and the database okay. However, I have several modules ...
0
votes
1
answer
305
views
Undefined property: stdClass::$collapsible
After creating a vertical tab in my installation profile I keep getting these notices:
Notice: Undefined property: stdClass::$collapsible in field_group_pre_render_tab()
and
Notice: Undefined ...
1
vote
2
answers
605
views
Use default installation profile?
I've written a custom installation profile. When running install.php for the first time to install it, I have to select the installation profile I want to use. I then select mine and run the install ...
1
vote
2
answers
356
views
Creating node in installation profile but body field stays empty
I am trying to generate nodes in my installation profile. The weird thing is that everything works except the body. First here is the code I use:
$date = new DateTime();
$node = new stdClass();
$node-...
1
vote
1
answer
64
views
Assign tinymce to text formats
Just to start with I am trying to do this in code (installation profile), not in Drupal itself.
In my installation profile I create three text formats. Thanks to the drush make file tinymce is also ...
2
votes
1
answer
351
views
Creating a block with installation profile
To create a block I am currently using this code:
$default_theme = variable_get('theme_default', getDefaultTheme());
$blocks = array(
array(
'module' => 'user',
'delta' => 'login',
...
2
votes
1
answer
204
views
Reusing drupal forms in a profile installation?
I've setup a custom installation profile, and of my installation steps is setting up Google Analytics. I've downloaded the Google Analytics module and enabled it in my site profile.
What I'm doing ...
2
votes
2
answers
147
views
How to enable insert module in installation profile?
I want to use the insert module for a file field but I can't get it to be enabled programmaticly. Is there a setting like 'insert' => true, or something like that? Is there any documentation about the ...
3
votes
2
answers
336
views
Write drupal config in a profile installation
Here's my problem: I use profiler builder to generate a profile from an installation. But the fact is : the profile only list my modules.
What I want my profile to do is also to keep my Drupal ...
6
votes
4
answers
2k
views
How do I disable a core installation profile?
There is the Allow install profiles to be uninstalled issue that doesn't allow installation profiles to be uninstalled. Is there any way to do this in D7?
(With a little more effort if necessary.)
...
3
votes
1
answer
466
views
Adding translation files to install profile?
I am building a Drupal installation profile to make deployment of my site easier, ideally I would like to include the translation files to the install profile as well. But apart from adding the core ...
4
votes
2
answers
3k
views
Building a Web App using Drupal
I'm looking at building a Web Application on the Drupal framework. Does anyone know of an existing drupal profile installation that has this viewpoint?
For example, I've been building features for ...