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

Why can't I import nodes, which were exported via UUID Features?

As in question. I've enabled and configured UUID Features module. I've exported target content type too in the same feature. I'm seeing this nodes in my_feature.features.uuid_node.inc I've deleted ...
0
votes
0answers
5 views

What is the correct way to create a new profile2 entity and provide fields for that entity programmatically?

Using my module, I want to create a new profile2 profile. The hook obviously is hook_default_profile2_type. I created that profile in my custom module's .module file and it works as expected: ...
0
votes
0answers
37 views

Module developed in feature not working when changing environment

I've developed a module that works in local but doesn't in my webserver (CENTOS6). The role of the function is to add a parameter in the URL ( like http://website/view_page?r=123) But it doesn't seem ...
0
votes
1answer
11 views

make view modes for commerce enabled by default when exporting with features

I am trying to make the Drupal Commerce view modes administrator and checkout_pane enabled by default when I export with features. I have strongarm dependency required; but I do not see the view mode ...
0
votes
0answers
26 views

Why some features are overriden after installation

This is my hook_install: function moocollar_web_install() { // enable features $global_features = array ('display_modes_feature' , 'field_bases_feature' , 'image_styles_feature' , ...
1
vote
0answers
31 views

How to set (import) oembed's ctools exportable settings as defaults for the module programmatically?

Oembed provides defaults for some providers (e.g. youtube, twitter etc) out of the box. It also provides the ability to export each provider's settings through the UI. I have added a new URL pattern ...
1
vote
1answer
25 views

Why I cannot export vocabulary terms via Features?

Ok, I've installed features, uuid, uuid_features. According to docs vocab terms shouls be exported too when creating taxonomy feature. So I run a command: drush fe my_feature taxonomy:tags but ...
1
vote
1answer
33 views

How to migrate Drupal Commerce configuration between environments

I'd normally use features to migrate changes from a dev server to a live one, however it seems drupal commerce doesn't fully support features, which leaves me in a tight spot. How would you suggest ...
0
votes
2answers
12 views

How to track what has (or hasn't) been “featurized” in the UI?

On a sufficiently large or complex site that uses Features to export or manage configuration, it seems easy to encounter a scenario where an administrative user can inadvertently change a variable ...
0
votes
0answers
30 views

Changing fields type which are already on website

Here is my case. I've created a content type with few fields (all fields had type: 'text'). I've exported this content type using feature and then used feature on PROD website for few weeks. ...
0
votes
0answers
9 views

Drupal Features: how to add menu_link components to a module from drush?

On a fresh site, create a new menu item: "My menu item" as a child of "Main menu" that points to, for example, node/add/some_content_type Click on Features >> Create Feature via the GUI and look at ...
1
vote
1answer
25 views

Is it possible to use features or some other technique to compare two sites?

I have a virgin copy of Open Outreach running alongside a copy where I've made configuration changes such as site name and configurations of various modules. Is it possible to use Features or some ...
0
votes
1answer
17 views

How to export user's content via features to new site in Drupal 7

Can anyone tell me how to export contents of users through some contributed modules?? like features,because I have a site which has 100 users,all contents are migrating through features but user's ...
0
votes
1answer
26 views

Add signature to features

I love to work with features! I often work with several colleges on the same feature and I'ld like to add a signature to the features. So we can see who worked last on the feature (without having to ...
0
votes
0answers
11 views

Custom menu-items permissions are erased when features are refreshed

I am using D7.37 with features 7.x-2.5 and Features Tools 7.x-2.x-dev (2014-Nov-27). I have 2 environments (dev, prod), and I use git and features to sync. After I refresh features and download to ...
0
votes
1answer
21 views

Features, Drush and Drupal 6

I'm using drush on D6 websites and i would to create and manage my features via drush.So i patched the 1.2 version like in this post : Then i get an error when i try to create a feature for content ...
0
votes
1answer
29 views

Strategy for deploying Panels with features

I've been exporting Panelizer configuration to features and pushing up to production. My strategy so far has been: Config is created on local and pushed up via features Content, such as Fieldable ...
2
votes
6answers
193 views

Which modules / solutions can be used for managing text on my site that's not node content?

I have text on my site that isn't node content, such as: footer legal text "Subscribe to our newsletter" "Browse our categories" etc. I need to save my development work as a Feature but I also ...
1
vote
1answer
42 views

Replace existing content type with feature

Once upon a time a made a terrible mistake on one of the test sites by not enabling feature module but cloning database along with content types data from my local dev machine (drush sql-sync @local ...
2
votes
1answer
40 views

Distribute configuration to several sites

There should be several sites, starting with something like a similar distribution, but over time, each site might get some individual modules. Yet, I'd like to keep the site updated with new versions ...
0
votes
1answer
27 views

Add permissions for a new content type

Context: I created a new content type (press room nodetype) locally and made a feature with it so it is easier to deploy on my dev-stage-prod environments. This works perfectly well. The thing is, is ...
1
vote
0answers
22 views

How can I export Apache Solr settings?

I selected entity types and bundles in admin/config/search/apachesolr. So is there any way to featurize or export these settings? If it can be done by Strongram module which variable I should use?
1
vote
1answer
32 views

Feature with Content Types is not reverted

I am stuck watching the Feature state as Overriden. I tried different solutions as: Disable and re-enable the feature Restart apache to ensure the APC cache is cleared Clear All caches from Drupal ...
0
votes
0answers
125 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
123 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
19 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
13 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
29 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
31 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
29 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
18 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
16 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
2answers
34 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
1answer
46 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
13 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
11 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
30 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
38 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
50 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
333 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
1answer
32 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
29 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
87 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
33 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 ...
1
vote
2answers
30 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
19 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
40 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
95 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
143 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
93 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 ...