Questions tagged [installation-profile]

Installation profiles combine core Drupal, contributed modules, themes, and pre-defined configuration into one download.

Filter by
Sorted by
Tagged with
0
votes
1answer
162 views

How to copy current directory into Drupal profile folder via drush?

I've this yml file in my current folder: $ cat profile.yml api: 2 core: 7.x projects: drupal7: type: "copy" download: url: "file://." and 3 empty files (just for now): drupal7.info, ...
0
votes
1answer
28 views

Force views to write exposed form block info to {block} table during install profile

In a D7 install profile, I am trying to modify the location of a exposed filter block with db_update(), where the view is defined by a module's hook_views_default_views(). At this point it doesn't ...
0
votes
1answer
167 views

Rebuild permissions needed after installation from profile

Once solved this issue: How to define settings from an install profile I would like to skip the Error Message I get on first load of the application: Message d'erreur Les permissions d'accès au ...
0
votes
1answer
50 views

Architecture Guidance: Many off-the-shelf templated sites

I typically work on larger custom projects, but have found I have a lot of requests for projects at a lower price-point. I think I can serve this audience by creating a core Drupal installation ...
0
votes
0answers
41 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
2answers
162 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 ...
0
votes
1answer
378 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
1answer
268 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
votes
1answer
645 views

How do I add default content?

I am looking for a standardized way to add content such as content types into an installation profile. Suppose we exported the JSON for REST Content and want to import them during installation. I ...
-1
votes
2answers
117 views

How to disable anonymous user permissions on site build

Using the configuration below I am trying to have my site install without giving anonymous users permission to "View content". I have no other code that would set this permission, and I have this ...
-1
votes
1answer
116 views

hook_block_info_alter() is not working?

I am creating a custom Drupal profile and put down the following code. function erc_360_min_hook_block_info_alter(&$blocks, $theme, $code_blocks) { $theme = 'erc_generic'; $blocks['user']['...
-3
votes
2answers
460 views

Create an install profile with a config export [closed]

I want to create a Drupal 8 profile installer with a config export, to export regulary my config to push data modifications in git. I tried this tutorial: https://www.valuebound.com/resources/blog/...

1 2
3