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.
455
questions
3
votes
2
answers
5k
views
How do I add taxonomy terms and vocabularies to an exportable deployment plan?
I'm in the process of developing an installation profile for a new site. We're using Features to export much of our functionality, and are very interested in using the Deploy module integration with ...
3
votes
3
answers
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
1
answer
95
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
1
answer
213
views
weird features behavior - constantly adding and removing entries from taxonomy.inc
I'm using features and I commit the features module to my repository to track changes.
Every now and then (after drush fu foobar) I see the following change to the foobar.features.taxonomy.inc file:
...
3
votes
2
answers
425
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
3
answers
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
2
answers
56
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
1
answer
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
1
answer
735
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
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 ...
2
votes
3
answers
229
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 ...
2
votes
1
answer
36
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
2
answers
75
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
1
answer
402
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
1
answer
428
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
1
answer
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
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 ...
2
votes
1
answer
2k
views
How do I import using features?
I have a drupal site and I exported a Drupal feature and got a download file. Now I want to import that file to another drupal site, but there is no import function, so how do I add it?
2
votes
1
answer
447
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
1
answer
94
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
2
answers
77
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
1
answer
27
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
1
answer
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
2
answers
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
2
answers
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
2
answers
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
2
answers
333
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
1
answer
502
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
2
answers
71
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
1
answer
93
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 ...
2
votes
1
answer
3k
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
2
answers
63
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
1
answer
460
views
Taxonomy Terms List and Features
I noticed that, while I am able to build taxonomy into my feature, it doesn't seem to include the list of terms within the taxonomy. When I go to create a feature, the uuid_term section does list a ...
2
votes
1
answer
221
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
1
answer
299
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
1
answer
226
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
3
answers
90
views
Exporting Panel setting to a Feature
Does anyone know how to add the Panels > Settings > General > 'Make all views available as panes' checkbox to a feature?
I guessed the Strongarm box but I don't see the setting.
2
votes
1
answer
306
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
4
answers
694
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
1
answer
53
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
1
answer
868
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
3
answers
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
2
answers
339
views
Features - branch 2.x results in large info files that exceed the 'info' column limit in the 'system' table
Original thread on DO (will keep it up to date)
Hello. I am currently developing a mid-to-large project. As i've done before, but using the 1.x branch, I use Features to track all structural and ...
2
votes
1
answer
41
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
2
answers
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
1
answer
644
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
1
answer
372
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
1
answer
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
1
answer
331
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
1
answer
407
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 ...