We’re rewarding the question askers & reputations are being recalculated! Read more.

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
3
votes
2answers
912 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 ...
3
votes
2answers
344 views

What does a basic module look like that includes a content type, a couple of fields and a view?

I am looking at turning my Features into proper modules. There is nothing fancy to them other than a content type, a couple of textfields attached and a view. It looks like the features module pretty ...
3
votes
1answer
657 views

New Relic performance monitoring and the Features Module

We've just started using New Relic to monitor our D6 sites, and are also taking advantage of New Relic's ability to report on Drupal module performance. Our sites contain several modules with ...
3
votes
3answers
1k views

Exportable and Fieldable Blocks in Drupal 7

I have a project where I have two competing requirements for blocks. First, I'd like to have blocks be fieldable. There are blocks on the site that contain static content but should have the block ...
3
votes
1answer
90 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 ...
3
votes
2answers
423 views

Issues with regions using the Spaces Dashboard module

I have been facing many issues trying to use the Spaces Dashboard module (part of the Spaces module). I have setup a site with pressflow, OG, Context, Spaces, and Features; I got everything working ...
2
votes
3answers
2k views

Moving nodes from dev to production (a simple use case)

I want to use the backup_migrate module to move some nodes from dev to production (production is still off-line). But the node is split over so many tables...and I also added custom fields (image ...
2
votes
2answers
53 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?
2
votes
1answer
1k views

Content types are missing in Features [closed]

I am trying to create a Features module and include my content types but not all of them are showing when I select "Content Types: node". I am seeing about 80% of them. Why would this be?
2
votes
1answer
725 views

How do I add menu items within a .install file

I'm trying to build an intall profile that implements a number if features. I am running into some issues because although features allows me to require menus, it seems there is no way to also include ...
2
votes
1answer
196 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
1answer
34 views

Downloading a Feature

I may be thinking about this the wrong way, but I would like to download a feature that is already created. I know how to create a feature and download it, but how do you download a feature that ...
2
votes
2answers
74 views

How to create features for site configuration in drupal 7

I have one requirement where all admin configuration need to be converted in to features eg caching must be enable
2
votes
1answer
375 views

What is the Features specific data in a Features module's .info file

I'm not sure if this is a Features module question or simply a module construction question. I have a module which was constructed with Features, which I have never used before. In the .info file of ...
2
votes
1answer
418 views

How to export feed agregator list and setting as feature?

I want to export feed aggregator list and settings as feature. If both aggregator list and settings cannot be exported, then how to export? Thanks a lot.
2
votes
1answer
2k views

How can I update/revert a feature which includes page manager and mini panel components that is stuck as overriden?

I have a feature which includes page manager and mini panel components that is stuck as overriden? I have tried reverting and updating the feature both from the web ui and also from drush to no ...
2
votes
1answer
385 views

Merging multiple feature modules

It looks like I went a bit too overboard with number of features modules on my website (~50), but it really made initial development easy (for multiple people). Now the question is - what would be a ...
2
votes
1answer
90 views

My Menu Will Only Semi Translate

I have created a menu on my site and have used features to export it. The first 2 menu items are translating to different languages but the third is not. The third word is Contact. I have gone to /...
2
votes
2answers
76 views

Is making a feature of literally everything available actually a smart thing to do?

I love features for all the benefits they have, especially for performance. It now seems like a logical step forward to make a feature out of everything available on the "create feature" page on a ...
2
votes
1answer
26 views

Is there a variable that keeps track of which pages are enabled or disabled in Page Manager?

I'm using the Features module and I'm tired of manually enabling/disabling pages (user_edit, user_view, etc.) Is there a variable that I can add to Strongarm to control this in code?
2
votes
1answer
2k views

Exporting settings in a code with Features / Strongarm - how to detect right variables - config ones

Many modules does not support Features, so I need Strongarm module to export config in the code. But in situation where i have many contrib modules, it seems tedious work. not all variables are named ...
2
votes
2answers
2k views

export search_api settings with features

I used features to export search_api settings and in the feature_module.features.inc file was code that started like below: I am trying to do the same thing again and I can't find the option to ...
2
votes
2answers
62 views

show same slideshow on different sites

how to show the same slideshow view on different sites but with different images - I have multiple sites which needs to show the same slideshow with different images. Can anyone explain how to go ...
2
votes
2answers
311 views

Where do I find a list of commonly used features? [closed]

I've been searching around for some useful features. I would assume that there are some common features that people use all the time, like an image gallery. Is there a place where people contribute ...
2
votes
2answers
315 views

What are best practices for reusing blocks between sites?

What's the best way of reusing blocks between sites in Drupal 7? I want to re-use not only the block, but also the block's position in my theme. Apparently, Features extra is designed for this. ...
2
votes
1answer
482 views

What is the purpose of the “Views: views_view” component?

Using the Features module, I notice there is a "Views: views_view" component, when creating a feature, but I don't see any setting for that component. I thought it would be list the views enabled in ...
2
votes
2answers
66 views

How can I get documentation on a variable listed in the Features UI provided by Strongarm?

When looking through the list of variables provided by Strongarm, there are several that sound like they might be useful to include but what they actually refer to is impossible to guess from the name ...
2
votes
2answers
299 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 ...
2
votes
2answers
58 views

Any risks associated with habitually updating/reverting ALL features in drush?

I want to start using drush commands to simply update all or revert all features (depending on which environment I'm in) instead of doing them one by one. What are the risks involved or questions I ...
2
votes
1answer
271 views

Features - Custom User Fields Not Available after Import

I have two Drupal sites. On Site1, I created 4 custom text fields for the User Profile. I created a Feature that included these fields. I didn't see an area where I could export the settings for ...
2
votes
1answer
152 views

It is possible to revert a single item of the component programmatically?

I've feature module which have thousands of entries and I'd like to investigate which item is taking the longest time. Currently all my features takes over 5h to revert, and I assume it's mainly ...
2
votes
1answer
297 views

Why is my Strongarm feature immediately overridden?

I am using features to save a content type. Here are the fields that my new feature contains: body field_product_site_id field_product_repair_price field_product_manufacturer ...
2
votes
4answers
615 views

Features reset without drush

In Drupal 7, my commons wiki gives an error when editing. EntityMetadataWrapperException: Unknown data property field_target_nodes. in EntityStructureWrapper->getPropertyInfo() (line 339 of /...
2
votes
1answer
52 views

Is it possible to put existing/shared Content type fields as Feature code each in their own individual file to simplify/avoid git merge conflicts?

We have a set of content types that share common fields - in that we re-use them in several content types. When recreating these content types as a Feature, the fields are all in one large file. This ...
2
votes
1answer
861 views

Can we create a feature for the changes in webform by using feature module?

I am unable to create a feature for the changes in webform on development site to be used on production site by using feature module.Is it possible ?
2
votes
3answers
2k views

How to export custom entity using Features?

I am trying to export custom entity using Features module but I am not able to see anything under create features. I have enabled exportable as TRUE in hook_entity_info. I have already added ...
2
votes
1answer
40 views

Is there a way to see what parts are not in a feature?

I am working on a site where I have content types with fields coming from several different feature modules. I've added organic groups with groups on most of those content types, and also added some ...
2
votes
2answers
2k views

How to update a feature

I have a feature which contains fields for the user profile page. This is currently working in PROD. In the dev site, I've updated the feature to include a new field, updated the version, and ...
2
votes
1answer
608 views

How do I get settings in admin/config/people/accounts/fields and admin/config/people/accounts/display into a Feature

How I would get admin/config/people/accounts/fields and admin/config/people/accounts/display into a Feature. I have been looking everywhere...
2
votes
1answer
260 views

Large Binlogs Generated When Reverting Features

We're using features to manage content types and field groups, and every code update, when we perform a features-revert to push out the latest CTs and field group changes, we get a huge amount of data ...
2
votes
1answer
53 views

best location for features related theming customizations

The following is a simplified scenario of an organizational problem I'm facing. I have a site with a single features module which handles all my content types. My features module is called foo and my ...
2
votes
1answer
328 views

How to quickly create multiple Drupal 7 features?

I use Features and Strongarm to manage configuration of my Drupal 7 systems. Until now I was creating features manually but even with Features Tools installed and ajax features status disabled it is ...
2
votes
1answer
403 views

How does node import happen when importing from features module?

I used the Node export module to export few pages into features; when I import it is randomly imported. Is there any particular pattern that it is followed while importing? I want to make a ...
2
votes
1answer
234 views

Pulling components out of a Features module into a Drupal site

I have a site that has some functionality provided by a Features module. They include a view, some nodes, and some content types. Now, we don't want them in the Feature anymore; we want them as native ...
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 ...
2
votes
1answer
167 views

Features and CMI Together

We are developing a single Drupal 8 site with a set of different features (content types, etc). The CMI approach is great for sharing config through git and importing/exporting on local, dev, stage, ...
2
votes
1answer
635 views

How programmatically create custom field type with some base fields?

I want to emphasise that I don't want to use field_collection. I want to create custom field type that can be reused in different entities and bundles. This should be kept in one custom module. So ...
2
votes
1answer
755 views

How to change the field type of existing fields?

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. Recently ...
2
votes
2answers
2k 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 ...
2
votes
2answers
145 views

Features - Should I go for big or numerous? [duplicate]

I have worked on a few Drupal projects that used features. I am usually perplexed by the way the way functionality is grouped. I'm guessing that most of them were created as needed and by different ...