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
0answers
17 views

Syntax error or access violation: 1061 Duplicate key name 'file_type': ALTER TABLE {file_managed}

i am using media module. whenever I try to recreate a feature I am getting the following error on the site. PDOException: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key ...
2
votes
1answer
32 views

What are the alternatives to Features module in Drupal 8

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
14 views

features issues not overriding

I have a feature that I copied from site A to site B. Site B is created using a profile install based on site A. Now I have to enabled a feature that I copied from A to B but whenever I enable this ...
0
votes
0answers
11 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 ...
0
votes
1answer
16 views

Drush only partially working in both VM (Ubuntu) and host OS (Mac OS X 10.10)

I am currently running on a MacBook Pro with OS X 10.10 (Yosemite). That is the host machine and OS. I am using a synced folder between the host and my VM, which is running Laravel's Homestead VM ...
0
votes
1answer
11 views

How to export comment fields (or other settings) with Features?

If I export a content type that has fields specified in the comment of the content type the fields of the comment are not exported. How do I export those fields that I specified in the comment? (In ...
1
vote
1answer
25 views

Content type creation with table of fields

I want to be able to create a content type with a number of fields (naturally). One section of the content type needs to be like the attached image with the ability to: - group items together (e.g. ...
2
votes
0answers
14 views

Programatic block with default configuration form?

We're using features on our Drupal project. We would like to specify few blocks NEED to be present in the database and their settings. Imagine block named "sidebar advertisement". That block has ...
1
vote
1answer
14 views

What's the proper way of working locally with freshly created features?

I have recently started to using Features, it was due time. Once thing I started to wonder, is, once you created your feature locally, what's the best way to work with it. I first thought that ...
2
votes
1answer
19 views

Exporting block with features

I want to export block with features.I have installed features_extra and enabled fe_block and then exported my block into my feature. But there's only hook_default_fe_block_settings. I want to export ...
0
votes
0answers
18 views

How do I override a service 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
0answers
6 views

How to change the order of execution of features in features module

I have a features module "X_slider", Which contains A Content type, block view to list same content type, half dozen nodes of same content type. And some variables. What i need is when i install that ...
0
votes
0answers
7 views

Export Workflow 2.4

I'm trying to export the workflow configuration from a site using Workflow 7.x-2.4 but the state names and transitions are not well exported. I'm exporting some strongarm and workflow variables but ...
1
vote
1answer
26 views

Writing JS/PHP code in feature? [duplicate]

Is it normal practice to write code (JS/PHP) in feature? I was thinking that feature should contains ONLY settings, however I've read that some developers write code there and they believe it's fine. ...
0
votes
1answer
28 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...
0
votes
1answer
39 views

What to do when a module is uninstalled but leaves some features enabled?

I just disabled and uninstalled a module. Problem is that I still see some features that were created by this module at: "admin/structure/features" How can I delete these features? I don't see any ...
0
votes
3answers
109 views

Views not showing all all field options

Problem: I'm trying to add Views Filters to this display, but I cannot see any of the fields attached to this Content Type. Question: How may I create exposed filters on these two fields Showcase ...
0
votes
0answers
36 views

Features to synchronize database changes between development and production

What is the best way to synchronize the database changes between development and production environments, for instance when enabling a new module? May I use Features as frequently as possible, or ...
0
votes
1answer
22 views

Getting rid of strongarm in features export

I exported a feature and it came wiht a bunch of strongarm configureation that I didn't want. I was able to delete most of it, but I wasn't sure about this part: /** * Implements ...
0
votes
1answer
19 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 ...
1
vote
0answers
34 views

Exported menu blocks to a feature module via FE block they are not created - Why?

I am using menu blocks and context to create menus on a site. I have created the menu blocks and added contexts for there use (they are working on my local dev). I have exported the menu blocks to ...
0
votes
1answer
16 views

Installing demo content via module.install file with Migrate module

I'm trying to import content on installation of my feature, but it's not happening. If I enable the migrate_ui module and go and manually execute the import, then it imports fine. The code below is ...
0
votes
2answers
21 views

How can I modify the code in taxonomy feature to include terms

I have created a feature to export my taxonomy vocabulary. How can I programatically modify it to add the terms as well ?
0
votes
0answers
16 views

Different Roles, same Display Name

I have Drupal 7, Ubercart 3.x and Roles. I would like to sell roles as website memberships of 1 month, 2 months and 12 months. Each one will cost a price, the longer the membership duration, the ...
1
vote
1answer
25 views

How do you export forum topics from one drupal installation to another?

I have tried to export a list of forum topics and/or containers from my development environment to production using features, strongarm, migrate, node_export and bulk_export. So far none have worked. ...
0
votes
2answers
39 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
79 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
40 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
105 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
23 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
43 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
10 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
18 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
60 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
51 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
35 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
25 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
38 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
15 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
19 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
12 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
23 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
19 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
32 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
5 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
41 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
25 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
12 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
11 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 ...