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.
456
questions
1
vote
1
answer
463
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, ...
1
vote
1
answer
673
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 '...
2
votes
2
answers
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 ...
4
votes
1
answer
997
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 ...
3
votes
3
answers
12k
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 ...
0
votes
2
answers
125
views
How to generate a list of which Features are enabled in which Spaces?
I'm running a Drupal 6.x site with Organic Groups, Features, and Spaces, and I'm interested in generating a list of which Spaces have which Features enabled. Preferably a table, with Spaces along the ...
2
votes
4
answers
812
views
How to make a Feature available only to certain Spaces? [closed]
For a Drupal 6 Open Atrium site (i.e., Features, Spaces, Organic Groups) I'm running, I've created some custom Features that only really apply to a handful of the hundreds of groups on the site.
As ...
0
votes
2
answers
384
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 ...
0
votes
1
answer
668
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 ...
0
votes
1
answer
142
views
Content type migration using the Feature module?
We have to upgrade Drupal 6 site to Drupal 7. We know that we can use migrate module for importing Drupal 6 content. But I'd like to know if we can use Features module for importing content types, ...
1
vote
0
answers
44
views
Can I migrate importing Features 6 code?
I am attempting to migrate Drupal 6 to Drupal 7 using the migrate_d2d_ui module, but the cck fields are not coming over correctly.
Can I use the Drupal 6 Features module to generate code which can be ...
-2
votes
1
answer
89
views
Features Revert or Update
Just to clarify some attributes about features.
Revert will take what is in my code and add it to the database?
Update will take what is in my database and change the code?
What happens if I have ...
3
votes
2
answers
600
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 ...
8
votes
4
answers
2k
views
How to create a vocabulary and populate it with terms using features
I'd like to create a feature that creates a vocabulary and populates it with taxonomy terms.
Creating a vocabulary is easy with features and it can be done using UI (I only need to select the desired ...
1
vote
0
answers
61
views
How can I programmatically configure commerce checkout pane settings?
In Commerce, we have custom pane and checkout configuration that applies to all orders. Per this d.o issue in commerce_features, this is supposedly doable. However, Commerce's default configuration ...
1
vote
0
answers
90
views
Git branching strategies with a small team to develop a Drupal site
We're a small team (5-6 developers) building a Drupal 7 site. Previously, we've used Features (https://www.drupal.org/project/features) to export our configurations from development to production. We'...
4
votes
5
answers
2k
views
Possible to use drush to list overrides for all features?
I believe that drush features-diff will list the overrides for a specific feature and that drush features-list will list all features. Is it possible to list all of the overrides for all features, ...
17
votes
8
answers
22k
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.....
1
vote
1
answer
109
views
How can I merge a content type's fields and settings from dev to staging?
I have an existing content type on staging. On dev we've added a ton of new fields and display and form setting changes, etc.
It's not practical to go through the config files and find all of the many ...
3
votes
1
answer
203
views
Is it possible to export arbitrary configurations?
I'm trying to create feature modules for as much as possible, such as
my backup schedule (for the Backup & Migrate module)
my shortcut sets
etc. etc.
and I'm surprised how much can't be exported ...
2
votes
3
answers
213
views
Exported feature with roles not imported when loading module
TLDR; I'd like to export the permissions I've added to the authenticated role, and have them appear on a different server when installing the custom module. However, when I install the module on a ...
0
votes
1
answer
60
views
How to re-order a mini-panel in a Panel generated page?
I've inherited a site and have been slowly unraveling certain aspects of its construction. Specifically right now, I want to change the order/region a page is loading a mini-panel in a page that I ...
0
votes
0
answers
73
views
What does it take to convert a feature?
I am udating an existing website from Drupal 7 to 8. The original developer placed most of the theme/items into Module Features (like a front page slider). I have about 37 Features that I need to move ...
13
votes
2
answers
9k
views
How can I use the UUID API?
I am aware that the question is (almost) a duplicate of the following question #21991, which has been posted back in 2012. But that question is NOT related to Drupal 8, where UUID is in core.
...
1
vote
1
answer
126
views
Rebuild in Features tripping HTTP 500 Error
I am trying to rebuild some features in Drupal 7.37 in preparation for migration and upgrade on a local dev environment using MAMP but I get an HTTP 500 error when attempting to view overrides. ...
1
vote
0
answers
646
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
1
answer
91
views
How can I remove Features modules from a site without affecting functionality?
I have inherited a site that makes heavy use of Features, and this constrains what I can do to permissions and creates dependencies that don't otherwise exist. Something as simple as turning off the ...
0
votes
1
answer
45
views
In the Features module, what does "Recreate" do?
What does it mean to "recreate" a feature? How does this affect the database? How does it affect the files, if at all?
0
votes
0
answers
716
views
Site crashes when deleting a field
Whenever I delete a field I get WSOD with following error:
Drupal\Core\Field\FieldException: Attempt to create a configurable
field of non-configurable field storage variations. in
Drupal\field\...
4
votes
6
answers
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 ...
1
vote
1
answer
27
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
1
answer
281
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
1
answer
53
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 ...
2
votes
1
answer
90
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
6
answers
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
2
answers
3k
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
2
answers
60
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
2
answers
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
1
answer
69
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
1
answer
33
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
1
answer
226
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
0
answers
20
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
2
answers
1k
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
0
answers
16
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 $...
8
votes
2
answers
1k
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
1
answer
261
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
1
answer
100
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
0
answers
46
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
1
answer
37
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
1
answer
170
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'...