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
42 votes
1 answer
1k views

I need to bring a site to version control, and set up the continuous Integration environment

I am an entrepreneur with a Drupal 6x project that started small enough to not need version control (per developers), but now I am convinced there is no way without it. There's extensive documentation ...
druflex's user avatar
  • 523
27 votes
4 answers
9k views

Adding components to a feature via Drush

I understand using 'drush fu' to look for changes to any components of an existing feature, but is there a way to add a component to an existing feature using drush? Right now I have to use the /admin ...
tkrajcar's user avatar
  • 420
23 votes
5 answers
8k views

Unable to delete feature content type after uninstalling feature

Issue Uninstalling a feature which creates a content type hides the "Delete" link on the admin/structure/types. Issue on Drupal.org
Aram Boyajyan's user avatar
21 votes
5 answers
10k views

Why would some features still show Overridden after a revert all --force?

Why would some features still show as "Overridden" even after running a full features revert with the force switch? Below are the commands I am running, for the sake of clarity. drush fr-all --force -...
markdorison's user avatar
  • 5,574
20 votes
8 answers
15k views

Revert a Feature Component programmatically

I have a Feature installed using an Installation Profile. But I always have to go and Revert a particular Component so that it's no longer Overridden (so that, for example, the Feature's Blocks appear)...
Hacker's user avatar
  • 3,024
19 votes
2 answers
1k views

How to use the Features module in a 3 dev environnement?

Working on a project, making heavy use of Features, there is sometimes 3 devs for this application. We have tried a few approaches, but when we merge our git branches it seems we often 'over-write'...
stefgosselin's user avatar
  • 2,941
18 votes
3 answers
10k views

How do I resolve this conflict between two Feature modules?

I have two content types with various menus, views, menus, etc. which I have packaged as two Feature custom modules. The two content types both use a taxonomy and use several of the same fields in ...
Ashlar's user avatar
  • 5,095
18 votes
1 answer
735 views

Technical advantages of either Configuration or Features over the other?

In short, Configuration vs Features, in Drupal 7, fight! As always, technical advantages, or other hard facts, as we don't do discussions here. Drupal 7 specific to limit to scope, as CMI vs Features ...
Letharion's user avatar
  • 27.5k
17 votes
8 answers
22k views

Unable to install ... already exist in active configuration

On Drupal 8.1 I keep running in those kind of messages when I try to activate a custom module or a custom feature that makes some modification to the basic page. (add fields). It is really annoying... ...
Guillaume Bois's user avatar
16 votes
3 answers
5k views

How to choose between Bean, Boxes and Fieldable Panels Panes?

Bean, Boxes and Fieldable Panels Panes all provide similar functionality. I have trouble understanding what exactly the differences between them are. What are their advantages/disadvantages compared ...
arjan's user avatar
  • 1,463
14 votes
3 answers
9k views

Exporting block settings in a Feature (Drupal 7)

I am trying to learn about creating a reasonable workflow between a development site and a production site and I have decided to use the Features module to help accomplish this task. On my front page ...
Mike2012's user avatar
  • 1,761
14 votes
1 answer
521 views

When using features to manage deployment, should I break my functionality into many little features or one big feature?

I'm relatively new to the features module and I've read contradictory recommendations online regarding whether it's easiest to maintain A) one big feature or B) several smaller features and then a "...
Patrick Kenny's user avatar
13 votes
1 answer
12k views

Export content types using features [closed]

I am struggling with it, but I can't do it by myself. Google doesn't gave me links for tutorials other modules doesn't help me too. I would like to export content types definition from Drupal site to ...
Codium's user avatar
  • 4,955
13 votes
2 answers
9k views

How can I use the UUID API?

I am aware that the question is (almost) a duplicate of the following question #21991, which has been posted back in 2012. But that question is NOT related to Drupal 8, where UUID is in core. ...
Stefan's user avatar
  • 133
12 votes
4 answers
4k views

Features workflow issue with deleting a field

Suppose I have a content type Person with fields: Name, Age, Email This content type is controlled by a Feature called test so I can source control it and push it to the live site. My workflow goes ...
cherouvim's user avatar
  • 1,937
12 votes
1 answer
3k views

Export multilingual settings with features

I'm using features to export 10 content types, but I don't get the multilingual settings. My question is, whether this is even possible, maybe with strongarm or I'm stuck having to change those ...
reptilex's user avatar
  • 423
12 votes
2 answers
837 views

How should I balance Features and Installation Profile in a Code Driven Development workflow?

Drupal Installation Profiles (in Drupal 7) are pretty powerful and can do just about anything a module can do. I'm using an Installation Profile along with Features to develop my site, keeping ...
Chaulky's user avatar
  • 6,443
9 votes
1 answer
10k views

How does `drush features-update` work?

I have made changes to a Feature on a Drupal 7 site. I want the same feature to be updated in another website. How to do it using the drush features-update command? When I run it, it asks to ...
subhojit777's user avatar
  • 1,919
8 votes
8 answers
9k views

Adding a theme suggestion programatically

I created a feature module containing only a view and a content type. Right now my page-node-x.tpl.php and my views-view-y.tpl.php files lie in my themes directory. Is it possible to move them into ...
jantimon's user avatar
  • 370
8 votes
1 answer
6k views

Delete a feature but keep the content created by it

Is it possible to keep the data created by a feature after deleting feature itself? I created a migration feature that is really just a one off; I would want to delete it without losing the nodes ...
Chris Muench's user avatar
  • 1,065
8 votes
2 answers
1k views

Features versus Configuration Management

I am building a Drupal 8 site and I have done some research whenever I should use Configuration Management or Features to export configuration and include it in my profile. In order to export and ...
Tyler Durden's user avatar
  • 2,316
8 votes
4 answers
2k views

How to create a vocabulary and populate it with terms using features

I'd like to create a feature that creates a vocabulary and populates it with taxonomy terms. Creating a vocabulary is easy with features and it can be done using UI (I only need to select the desired ...
ccamara's user avatar
  • 398
8 votes
2 answers
7k views

How to delete a Feature?

I created a feature module in site-1. Then I instaled the feature module in site-2. This features creates a new content type and enable a module. Then I got the new content type and the module ...
chefnelone's user avatar
  • 6,227
7 votes
4 answers
4k views

How do I properly add css to my feature?

I have a feature that just contains a few views. How do I properly add a stylesheet to it?
nigel's user avatar
  • 71
7 votes
2 answers
2k 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 ...
drupal_stuff_alter's user avatar
7 votes
2 answers
6k views

How to export Panels and Mini Panels with Features?

I am trying to export the Panels and Mini Panels on my website with Features. On the features drop down menu, there is an option for "Panels: panels_renderer_pipeline". However, when I click on it, ...
big_smile's user avatar
  • 2,828
7 votes
1 answer
2k 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 ...
donquixote's user avatar
  • 3,622
7 votes
1 answer
4k views

Features conflicts when field bases are used by other feature

I recently downloaded the Features module and was so glad over how smoothly I now can export functionality from dev to prod. But now when I'm trying to create a second feature I'm getting conflicts ...
Johan Dahl's user avatar
7 votes
1 answer
170 views

Do features uninstall variables when a module is uninstalled?

I have created a module using The Features module. The module exports some variables using the Strongarm module. If a person installs the module and then uninstalls it, will those variables be ...
chipcleary's user avatar
7 votes
2 answers
6k views

Export content in features using UUID features

I read the UUID feature description and it says it is used to export content in feature. I installed the module but did not know how to export the content.
Hacker's user avatar
  • 3,024
7 votes
3 answers
169 views

How do you change which content type a field is attached to (which one owns it?)

While exporting configuration for my site using the Features module, I noticed that one of the fields I use on many content types was initially created on the "news" content type instead of the "...
Zxaos's user avatar
  • 365
7 votes
2 answers
3k views

Export configuration translation

Using Drupal 8, I need to create several content types. They'll be used in a multilingual site, so I installed the Configuration Translation module from the core to translate the field labels. I can ...
Esteban Gerpe's user avatar
6 votes
4 answers
3k views

cannot track view with features

I'm using Features to create a feature called foo which tracks content types and views so they can be described in code, committed to my repository and eventually pushed into the staging and ...
cherouvim's user avatar
  • 1,937
6 votes
2 answers
886 views

How to transfer a block from one site to another?

I've built a block on my local site and now want to transfer it to a remote site. I thought this was done via Features, so downloaded the feature files and placed them on my remote server. On the ...
MeltingDog's user avatar
6 votes
1 answer
497 views

What does the menu_masks variable do?

When I was building a feature (as in Features), I noticed the menu_masks variable. I have read menu_get_ancestors() and _menu_router_save() but I still don't understand what it does. On a more ...
marcvangend's user avatar
  • 14.9k
6 votes
2 answers
4k views

Export menu as feature?

How can I export a menu as a feature? I found the menu import module, but it does not work with this feature.
Bart Braem's user avatar
6 votes
1 answer
4k 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 ...
ericx's user avatar
  • 235
6 votes
2 answers
145 views

Can one feature module make additions to another feature module?

I would like to have two feature modules for users to enable. One basic and one advanced. For example, the basic feature creates a blog content type, with only title and body fields. The advanced ...
sicko's user avatar
  • 125
5 votes
6 answers
4k views

Enable new modules dependencies on deploy

How can I automatically enable new dependency added on a custom feature (or standard modules) with drush? After getting the new code, my deployment script basically run: drush cc all drush fra But ...
gagarine's user avatar
  • 682
5 votes
3 answers
2k views

How to Import features back to database

I have lots of feature modules in my site. I want to import it back to database for upgrade purposes. Any idea how can I do that?
user8012's user avatar
  • 602
5 votes
2 answers
1k views

How can I make a module's configuration exportable by features?

At a high level, what needs to be undertaken to take a module's configuration data and make it exportable by Features? Whether this is a contrib module that does not yet have Features support or a ...
markdorison's user avatar
  • 5,574
5 votes
1 answer
2k views

How does one change the machine name of a Feature?

I have created a feature with a typo in the machine name. I've tried just search/replacing instances of the misspelling with the proper spelling in all files within the feature's directory, but when I ...
beth's user avatar
  • 9,087
5 votes
1 answer
390 views

.inc files in Features - how are they being included?

Regarding the features module: I am working with a module which was created by features. I see a lot of .inc files in the module, but see very few actually included. Does this make any sense? I know ...
user1015214's user avatar
  • 1,801
5 votes
3 answers
2k views

How can I move a view from one feature to another?

I have a view that I added to Feature A that I would instead like to move to Feature B. I re-created Feature A using the admin interface, but even after re-creating the feature, clearing the cache, ...
Patrick Kenny's user avatar
5 votes
1 answer
76 views

Should I enable a feature I created on the same site?

I created a view and some configurations and used features to save it into code. When doing so, I used the GUI interface and selected Advanced Features and named a file path (sites/all/modules/custom) ...
Christia's user avatar
  • 1,637
5 votes
1 answer
2k views

How does one create terms on hook_install if hook_taxonomy_default_vocabularies is used in the same module?

I'm attempting to create taxonomy terms in a module that provides the vocabulary needed to create these terms. The issue I'm having is the vocabulary is not available upon install. My module ...
troynt's user avatar
  • 183
5 votes
1 answer
2k views

Bulk enable/disable modules

I have just begun development on a Drupal 7 site in a team of three and I am trying to determine the best practice for versioning. This is causing me a bit of a headache because much of the work on a ...
Godwin's user avatar
  • 235
5 votes
2 answers
2k views

How can I manage site translations in code?

I have a site with multiple translations, including a heavily customized version of the default Drupal "English." (The use case requires that a lot of the help text and labels throughout Drupal be ...
Patrick Kenny's user avatar
4 votes
2 answers
4k views

How do I change the overridden feature to default

I got "overridden" for two settings. I wanted to know why this is happening, and how to get rid of it in a proper way.
Hacker's user avatar
  • 3,024
4 votes
1 answer
4k views

Remove features without lose functionality

I'm working on a project where in the past was added a lot of features and was did in a way where right now a lot of them has a lot of circular dependencies and conflicts. I want to start again, ...
Gnuget's user avatar
  • 1,071

1
2 3 4 5
10