The Features module is primarily for use by site developers to export elements of a site configuration for use in another site.

learn more… | top users | synonyms

0
votes
2answers
17 views

Reverting blocks and other pseudo-exportables in an install hook

We have a medium-sized Drupal 7 site whose configuration is almost entirely stored in code, in a single Features module. In order to permit automated testing and a cleaner development workflow, I'd ...
1
vote
1answer
45 views

How do I use Features to export a custom content type to a stand-alone module

This is a follow-up on, but not a duplicate of, Programmatically creating a content type with file field in a custom module. As suggested by Tenken in a comment to the OP of that question, it is easy ...
0
votes
1answer
17 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
2answers
36 views

Export Drupal Commerce Checkout Settings

I'm wondering if there's a way to export Drupal Commerce's checkout pane settings to code? I've tried commerce_features but it doesn't appear to do it. For other commerce related things, like ...
0
votes
0answers
20 views

Is it safe to comment out dependencies in a feature modules .info file?

I used features to migrate config and content (with uuid features) from a dev site to a live site. Now its there, I dont want the features anymore. Or perhaps partly, but I'd rather rebuild the ...
2
votes
2answers
32 views

Use feature as module?

Does anyone have experience with using a feature as a module? The usage I am talking about is strictly placing hooks inside the .module file. Can that trigger any sort of bug?
0
votes
1answer
19 views

How to add delete link for imported content type

For the content type which is imported by feature, there is no delete link for it, but we can delete them by going to the url /admin/structure/types/manage/YOUR_CONTENT_TYPE/delete My question is how ...
0
votes
0answers
9 views

How can I remove the dependency on PHP of rules in a feature?

I am attempting to disable the PHP filter on my site, so I am moving all PHP input in the UI into code. I finished cleaning up my views and panels, and now only some rules remain. Right now, all my ...
0
votes
1answer
10 views

unable to extract dumped files in .tar extention on my site

I can't extract my backup dumped with .tar extention. so i can't work with features can I download features in .zip ?
1
vote
0answers
29 views

Creating content types, content type fields, vocabularies and panelizer panel configs manually in custom module?

I am a pretty seasoned Drupal developer and I maintain a distribution which is made up of a base theme, contrib modules, custom 'system' modules and a profile to glue it all together. My ambition is ...
3
votes
1answer
44 views

Splitting existing feature into several smaller. Safe?

I have this really big feature where all CT, fields, views etc are exported. As far as I understand it makes sense to make it into smaller features, more context specific, like features_views, ...
0
votes
0answers
21 views

How to hide certain variables from strongarm/features

I am using features to keep track of changes on my site (views, display modes etc.). Lately I have added strongarm to keep track of the variables as well. To create/update my features-module I use ...
0
votes
0answers
13 views

Create a feature for Quiz changes

I made some changes to Quiz and Multichoice content type created by Quiz module: I added a couple of fields and I changed display modes (using display suite). The problem is I can't create a feature ...
1
vote
1answer
33 views

Disabling some modules installed via a feature

Is it possible to disable a module that was installed via a feature? For example, I'm using a theme that came with a feature that installed a lot of modules, I realized that I don't need a bunch of ...
0
votes
1answer
10 views

what is the strongarm variable addititonal_settings_active_tab_*

I am using the Features and Strongarm module to move my work between sites. I am using them as a way of version controlling changes made in the database (as Configuration Management module has many ...
0
votes
1answer
15 views

How to include multiple Views in an already existing feature?

I have to work with an old Drupal 7 site. It's using features. I created some new views, now I have to include these 2 new views into a feature which already has 1 view. How can I do it and which ...
0
votes
0answers
10 views

features not storing menu links

I am using Features and I'm trying to package up a menu in a Feature. I have been able o create the menu, but the menu created by the feature doesn't include any menu links. The reason for this is, I ...
0
votes
1answer
16 views

How do I add a Commerce product type to a feature?

I have a custom product type that I created in my local dev environment and I'm trying to export it into a feature. However, I can't seem to find where the product type is stored in the Features ...
0
votes
0answers
18 views

Why some variables aren't listed on strongarm feature component list?

I want to export 2 variables from domain navigation module: domain_nav_block domain_nav_theme I am sure that this vars exists in variables table, but in strongarm tab there are missing...
0
votes
1answer
21 views

Reverting/updating “FILE_DISPLAY” in Features

My site is running Drupal v7.30 and Features v7.x-2.2. I can't revert or update file_display components in features. There are additional definitions under the Default column that appear to be define ...
0
votes
0answers
4 views

Display feature status in views?

Certain admin pages such as page manager displays a Storage column that tells you if some settings or data are stored in code (features), normal (database) or overridden. I have created certain admin ...
0
votes
1answer
24 views

Field settings are not being exported with Features

I have a product content type that has a product reference field. Under the Product types that can be referenced section there is a list of product types that can be referenced. I have selected one of ...
0
votes
0answers
12 views

Export Panelizer Visibility Rules with Features

I have exported an entire content type with Features, including Panelizer's settings and layout. The variable I can't seem to export is the "Visibility rule" see attachment. I also tried using ...
0
votes
0answers
11 views

Hook Menu with the Features Module?

I have been working on a image gallery module using the features module. Using the views module, I created an Admin page to manage the image gallery. My goal is having that image gallery Admin page on ...
0
votes
0answers
8 views

a stored field not shown in field list

Im using features module to export user fields settings in a production website, and it works fine ... somehow in the production website one field was deleted. so I want to get back this missing ...
0
votes
0answers
17 views

how to export multilinugal variables

How could i export multilingual variables and migrate it to another installation? I don't want to translate all the variables (more then 30) multiple times .. I tried with features - Realm variables ...
3
votes
1answer
99 views

Can I rename a module?

I foolishly created a features module and named it events. This is bad because, of course, there is a registered module with that same name. So the update status report is always in error and drush ...
0
votes
2answers
19 views

Override preexisting rules

Currently, changes are replicated by hands (and rules exports) from dev to a test stage available to the customers. There is actually no live site. We are going to use the Features module and ...
0
votes
0answers
16 views

How to set default permissions using ctools

I've done this before with features and have used ctools a bit for other module's defaults but can't seem to find the right hook for user permissions. This is what I'm trying to do in my code: ...
0
votes
1answer
208 views

Features local permission issue Warning: mkdir(): Permission denied in features_export_build_form_submit()

When I am trying to generate a new feature on local, it runs in permissions issue beginning with Warning: mkdir(): Permission denied in features_export_build_form_submit() There is no www-data ...
0
votes
1answer
26 views

How to automate setting up Services or RESTws?

It looks like xmlrpc.php is of almost no use. I want to use XML-RPC to control my sites but I don't want to set up Services or RESTws manually on dozens of sites. It doesn't look like Services has ...
0
votes
2answers
43 views

How can I split up a massive feature module into multiple smaller modules?

I have one massive unmaintainable features module that I want to split up into smaller, manageable features. Can I disable the massive module without it removing or disabling content types and ...
2
votes
1answer
38 views

What's the best practice way to test block Views with SImpleTest?

I've created a block view, which I've positioned on the page using the admin UI. I've exported my view using Features and fe_block for its block. I'd like to write a SimpleTest to verify that ...
0
votes
0answers
15 views

Features - refreshing

I have a feature which I apply across a couple of sites. When I export my feature to a common modules folder it shows as enabled in both the 'other' sites, although the update is not shown. At the ...
0
votes
1answer
53 views

What does features_exclude mean in a features info file?

I found this line in the *.info file of one of my feature modules. features_exclude[field_base][field_block] = field_block I did find a number of drupal.org issues dealing with this, but no ...
0
votes
1answer
45 views

Simpletest: database exception during setUp

I'm writing lots and lots of test cases for different modules and have come across a rather strange error about which I'm hoping others may have more insight. In my setUp function override, the first ...
0
votes
0answers
55 views

Features auto delete field

I've been using Feature to provision changes between my DEV, STAGING and LIVE sites. What I'm finding is when I make a field redundant on a node type on my DEV site, features does not automatically ...
0
votes
1answer
21 views

Exporting Site Configuration Settings into Features

This is on a Drupal 6 site, and we want to export several settings (like CSS aggregation) into features, however it doesn't appear like there's anyway to do this. Do we need to write a custom feature ...
0
votes
0answers
26 views

How to exclude variable site_name from feature

in my feature i wanted to add the multilingual path_breadcrumbs_home_link_title for en and de but when generating the feature by including the realm_variables there is the site_name and site_slogan in ...
0
votes
1answer
33 views

How to fix Feature with Panels

I am managing a website that makes extensive use of panels. I had a "system" panel page with Title = 'Registration Template' and a path of 'registration/%registration'. Somehow, in updating the ...
0
votes
1answer
61 views

Features code changes overriding automatically

I have a panels page in Features but as soon as i change the Features code, it automatically overrides the DB, this means that i don't get to see the "Overridden" state grey button, but always the ...
0
votes
0answers
18 views

Is it require to add a hook_update_N for my new added field?

I've extended a feature (using Feature module) by adding a new field in the settings form: $form['custom_user']['user_value'] = array ( '#type' => 'textfield', '#title' => ...
0
votes
0answers
42 views

Create Feature running into timeout error

When clicking on Create Feature I get an timeout with the message Maximum execution time of 300 seconds exceeded in ...
0
votes
1answer
40 views

Include the user history visibility settings in a feature

I have two view modes for the user profiles, the default one and a custom view mode called "Header". In the default view mode I have chosen to show the user history information ("Member for...") but ...
0
votes
0answers
13 views

How do you correctly include Fielg Groups in a feature

I have built a content-type with 20 fields and 5 field groups. I have added all of these items to a feature, an everything appears to work fine. However, when I install the feature on a site (which ...
0
votes
2answers
31 views

When you recreate a Feature, do you need to uninstall and re-install it?

When you recreate a Feature, do you need to uninstall and re-install it or is it OK to just delete the feature folder and paste the new on in its place?
2
votes
2answers
115 views

Remove components from a feature using Drush

Using Features UI to manage a big feature components is a tedious task. Therefore in order to add a new component I use drush fe myfeature views_view:myview1 Now how I remove the uneeded component ...
0
votes
1answer
18 views

How does Strongarm decide which variables need to be included in a feature

When you enable Strongarm on a site that is already using Features, do these two modules work together to determine which Strongarm variables need to be included in a Feature, or is there additional ...
0
votes
1answer
264 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
0answers
21 views

Did I miss a step when I enabled my content type related feature?

I have a Feature (with strong arm enabled) which I am using to save a content type. The content only has two additional fields: field_company_search_terms and field_company_url_element, both of which ...