Questions tagged [features]

Use it for questions about the module used by site developers to export elements of a site configuration to use them in another site.

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

What does it mean “Rebuilding” in a feature? Can it be resolved?

I did some changes in my local environment, then I updated the 'feature'. When I try to deploy the change to another environment, but before I can start the 'revert' operation, some parts of the ...
1
vote
1answer
635 views

Updating the block region/pages settings for a NEW views block during an implementation of hook_update_N

I have a feature module which provides a view which has a block component. To keep things simple, the module I'm writing a hook_update for is 'mymodule' the feature which implements the view is '...
0
votes
2answers
364 views

Features to import content types

Features seem to be the right way to import custom centent type in a fresh D7 install from a D6. But when I create my feature on the D6 one, it added dependencies like modules,and once I import the ...
2
votes
2answers
1k views

Updating a module field schema

I'm currently working on a project created by someone else. I have a textfield called "city". Currently the maximum limit is 255 characters. I want to update the maximum character to be 100. Looking ...
0
votes
1answer
32 views

Ignore UUIDs when comparing the difference between configuration exports

When building Features, i find it useful to keep a 'backup' of the full configuration and commit it to version control. If something breaks when i package a feature after i test how it works by doing ...
0
votes
1answer
368 views

Templates and hooks by Universally Unique IDentifier (UUID)

I'm looking for a solution to migrate content between environments (dev->staging->production) and currently I think I'll use UUID and Node Export (as far as I see UUID Features is still in alpha and ...
4
votes
6answers
2k views

How to enable inactive fields

I have a content type with a field that has been set to inactive. This happened after I reverted my feature in an attempt to undo a change I made to the content type. The error message given is the ...
4
votes
2answers
695 views

Cannot import Paragraph based Feature into new site

Perhaps someone with a bit more Features expertise can help me here. I have a Drupal site with 25 or so Paragraph types that I would like to export (one by one) to its own contained Feature. I ...
1
vote
1answer
617 views

How to make a reference to an entity using the uuid of the entity?

Is there any way to make a reference to an entity (using refereces, entity reference or relation) using the uuid of the entity? I'm using features and uuid_features to export the content but ...
1
vote
1answer
453 views

Infinite Redirect Loop with PURL and spaces_og

I created a calendar feature for organic groups, and tried to enable it in a group with spaces_og. The page refreshes saying changes have been saved but the feature is still disabled. In the logs, ...
0
votes
0answers
13 views

Export Text Format and CKEditor Profile with Features

First, this is not a duplicate of this, because I can't even get that far. The OP was able to put their CKEditor profiles into a Features module with all of the settings are stored in the Features ...
1
vote
1answer
22 views

Is it necessary to export features with a version number?

By default, modules generated with features are created with a version string in the *.info file. I think the convention is to increase this version number when the feature changes. In a distributed ...
1
vote
1answer
276 views

How to export content type with scheduler's settings using features

In my dev environnement, I've installed Features module for exporting the content types of my site. I've also installed Scheduler module to schedule for publishing my contents. On the admin page of my ...
0
votes
0answers
9 views

updating the contents by using module “scheduler”

I have a problem with updating the contents by using module "scheduler". When updating the current contents and set the publish schedule,but the updated contents are published at once. It looks doesn'...
0
votes
1answer
50 views

Drush Feature Update removing t() and l() function usages

I have a feature that currently has things like this: 'body' => '<h3>' . t('Welcome back') . '<span class="fname">%user:field_first_name</span>!</h3>', However, using ...
1
vote
1answer
51 views

Is there a downside of having too many features?

I have worked on or seen different D7 projects in the past, with different strategies for features: One feature per view, content type, etc, with a consistent naming pattern. The result is many ...
5
votes
6answers
4k views

Enable new modules dependencies on deploy

How can I automatically enable new dependency added on a custom feature (or standard modules) with drush? After getting the new code, my deployment script basically run: drush cc all drush fra But ...
7
votes
2answers
2k views

Export configuration translation

Using Drupal 8, I need to create several content types. They'll be used in a multilingual site, so I installed the Configuration Translation module from the core to translate the field labels. I can ...
0
votes
2answers
41 views

Available node language only English

I have a custom content type with "Set custom language as default for new content" and "Require language". Custom default language is Current language. Entity translation is defined with "Current ...
0
votes
2answers
2k views

Missing Menu Links generating a Feature

I am using Features that includes several basic site features such as the main menu and another custom navigation menu. Both are two level menus. I have included the menus in the Feature, but when I ...
0
votes
1answer
33 views

Track field dependency with features

I modified a field dependency on my Call content type. Features did not track the change automatically. I cannot figure out how to manually add it to features.
0
votes
1answer
24 views

Features 8.x-3.7 not writable on Window's Ubuntu

8x-3.7 features, most stable version, but I am having trouble writing to custom module on the UI. My structure is as follow: -modules/ contrib/ features/ custom/ news_blogs/ ...
1
vote
1answer
121 views

How do I add a view with a module when installing a module?

In Drupal 8, I want a view to be created when a module is installed. I have already used the Features module to export the view, so I have the yml file that creates the view. I can't find what to ...
1
vote
0answers
19 views

Why are permissions hijacked by Features module?

Trying to understand what exactly I have done here. I have made a Feature to export CCK config. I added CCK: content to it for a bunch of content types, and so it contains auto-detected dependencies ...
2
votes
2answers
271 views

Listing variable values using drush

I would like to list the values of certain variables using Drush in order to make sure they are in fact the variables that I intend to add to my feature. It seems that some variables are parents which ...
0
votes
0answers
12 views

can features module provide fields to an entity created by a different module?

A contrib module provides an entity and some default fields in its contribmodulename.install file. In the UI we have added fields to that entity. It appears like these fields, both $field_bases and $...
3
votes
2answers
10k views

How to run cron more often than every hour?

I'd like to run cron every 5 minutes, but the UI doesn't offer any increment of time smaller than an hour. I'm assuming the solution is as simple as creating a feature module for the setting, and ...
8
votes
2answers
770 views

Features versus Configuration Management

I am building a Drupal 8 site and I have done some research whenever I should use Configuration Management or Features to export configuration and include it in my profile. In order to export and ...
0
votes
1answer
231 views

How do I override an endpoint provided by a module in a feature?

I am using the Services module and Drupalgap, which provides a service endpoint by default. I want to make changes to the available services on the drupalgap endpoint, and I manage configuration on ...
0
votes
1answer
71 views

Export node display with Features not taking in account format of fields

I'm trying to export a node display with features and I already created the feature with the display and imported it to another site. The problem is that the display has some differences, mainly in ...
1
vote
0answers
44 views

How to programatically update time offset in a Featurized Rule?

I have a rule that compares the value of a date field to the current date. I also have a custom module with a config form that allows the user to set a number of hours of time offset. The rule is ...
0
votes
1answer
29 views

After rearranging field order in a view, how do I export this modification in features?

I am using drupal 7, I rearranged the order of the fields in a view, using the contextual menu link 'raerrange' (see image). But now I am not able to export this modification into the feature related ...
0
votes
1answer
121 views

Bundle field validation with Feature in Drupal 8

How can I have the field validation settings (via the field validation module) bundle with the content type using Features module? eg: I have a content type Post and a field validation that says post'...
0
votes
1answer
173 views

Features along with configuration synchronization

I am planning to use features to bundle some of my specific works. Example: I want to bundle article content types along with its views, fields and related other stuffs. Can I just use features to ...
13
votes
5answers
8k views

Unable to install … already exist in active configuration

On Drupal 8.1 I keep running in those kind of messages when I try to activate a custom module or a custom feature that makes some modification to the basic page. (add fields). It is really annoying.....
3
votes
2answers
911 views

Export fields properly with Features

I want to improve the way I put my Drupal sites in production. For that I began to use 'Features' to export every single content type I created. (I'm doing it on the Drupal 6 websites). But when I ...
14
votes
4answers
3k views

Features workflow issue with deleting a field

Suppose I have a content type Person with fields: Name, Age, Email This content type is controlled by a Feature called test so I can source control it and push it to the live site. My workflow goes ...
0
votes
1answer
50 views

Feature revert deletes existing Strongarm variable

I got a Drupal 7 feature, which contains certain Strongarm variables, such as admin_theme. This feature has been created, released and reverted multiple times, always without fault. Suddenly, the last ...
0
votes
1answer
25 views

Problem with i18n_string + features + sites with different default language

(I will talk about i18nviews in this question, but I think the problem applies equally to other cases of i18n_string) Background With regular Drupal t(), Drupal will always assume that the original ...
2
votes
0answers
115 views

How do I update an installed feature?

Using the module Features in Drupal 8, if I export them and install them in a different site. When there are changes and exported again, if I replace the files in the destination site, how can I ...
2
votes
1answer
2k views

How to export paragraph bundles with features?

According to paragraphs documentation, it's should be possible to export paragraph bundles with features module, but whatever I search, I can't find any option in the features component section for ...
6
votes
1answer
473 views

What does the menu_masks variable do?

When I was building a feature (as in Features), I noticed the menu_masks variable. I have read menu_get_ancestors() and _menu_router_save() but I still don't understand what it does. On a more ...
0
votes
2answers
352 views

Recommended way to clone functionality to create a site in Drupal 8

I have a Drupal 8 installation with different content types, paragraphs defined, views and taxonomy vocabularies. Ideally I wanted to be able to export some of these features and import them in ...
0
votes
2answers
41 views

Remove Workflow from Features

I'm trying to remove a Workflow instance from a Feature. But every time I uncheck the workflow and recreate the feature, the workflow gets deleted. Now I know that with Views, Panels and other ...
3
votes
1answer
657 views

What are the alternatives to Features module in Drupal 8 [closed]

I am trying to export configurations from one Drupal site to other. This is not a one time operation, I will need to do this multiple times and Single Import, Simple Export is not an option as there ...
1
vote
1answer
273 views

Exporting menu along with code

I am new to Drupal 8, been developing only with D7 until now and I have a question regarding menus. I need to create this basic main menu for the page, but I am not sure how to export it and send to ...
-1
votes
1answer
55 views

How to prevent users from updating “featurized” settings via the GUI?

We have some configuration pages where it is useful for privileged users to be able to see settings that have been exported as part of a feature, but there is no indication on the admin page that ...
1
vote
2answers
635 views

What advantages does Features offer in deploying changes

What advantages does using features to manage deploying changes (versus keeping code updated and data fresh)? The Features way (near as I can discern): Features takes configuration (which is ‘...
-2
votes
2answers
167 views

Making clones of Google,Yahoo or Bing with Drupal,is it possible?

Is it possible to make a clone of any search engine in Drupal, and what can be the complexities in making it. Or what can be the nearest possible search engine to make with Drupal.
0
votes
0answers
24 views

How to provide default panels pages via features, but allow overrides?

I'm working on a D7 distribution and I'd like to provide panels pages for some things like node views. I can do this with Features. But I also want the end user of the site to be able to modify the ...