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
2
votes
1answer
331 views

Features - Is there a way to push changes back into the database

I have a fairly good understanding of the way that features works: Make changes to your test site. Create a feature which contains the changes. Copy the new module (which was created by features) to ...
2
votes
1answer
660 views

update hook to delete and bulk update pathauto aliases

I have put all of my SEO settings into a feature, in order to migrate the settings from a dev site to a live site. Is there a way to write an update hook that will delete all of my existing content ...
2
votes
1answer
173 views

forcefully / manually remove content type

Is it possible to manually remove a content type? I've packaged it in a feature and now the content type is no longer needed; it's been deprecated. I'm unable to delete the content type after ...
2
votes
1answer
84 views

How to theming and deploy custom blocks which created in admin UI?

I've created some custom blocks in my development environment and export them with Features + FE Block with given machine names. And then deploy and enable them in my staging environment. Just like ...
2
votes
3answers
223 views

What would be on your checklist when trying to debug a non-reverting feature?

I've lost far, far too many weeks and weekends fighting with Drupal and the Features module in the last year, and I still can't find consistently reliable approach to debugging failed feature reverts. ...
2
votes
1answer
219 views

user_roles with features

When I use user_roles() when there are roles added by features, the feature roles are not returned. How can I get a list of all roles on my site included those defined in features?
2
votes
0answers
115 views

How do I update an installed feature?

Using the module Features in Drupal 8, if I export them and install them in a different site. When there are changes and exported again, if I replace the files in the destination site, how can I ...
2
votes
2answers
60 views

Features confilict with content types

I have 3 different environments such as Dev, Test and Stage. I'm currently facing an issue when trying to propagate my changes from Dev into Test and Stage envs. In order to propagate the changes i ...
2
votes
1answer
32 views

Features - keeping Git up to date when changing features on production

I have a Drupal 7 site with a UAT version and Production version. Most of the features on production have been overridden. I want to keep my repository up to date in case anything happens to my ...
2
votes
0answers
65 views

How to interpret the components exposed by Facet API in Features?

I'm developing a website in Drupal 7 when there is a content type representing research papers that has, among other things, fields representing the author (different from the Drupal user), keywords, ...
2
votes
1answer
116 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 ...
2
votes
1answer
77 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 ...
2
votes
0answers
31 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 ...
2
votes
0answers
137 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 ...
2
votes
1answer
375 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 ...
2
votes
1answer
58 views

Allowed memory size exhausted after importing PO file [duplicate]

I have a problem after importing the PO of the Drupal core 7.28 (I tried with French and Arabic), whenever I try to create a new feature or open the modules page, I will get an error: Allowed ...
2
votes
2answers
1k views

Updating a module field schema

I'm currently working on a project created by someone else. I have a textfield called "city". Currently the maximum limit is 255 characters. I want to update the maximum character to be 100. Looking ...
2
votes
0answers
72 views

Features - Will I lose work if I decide to remove a feature from my dev site

I have a feature on my site that covers several content types and views. I want to change the configuration of my feature, but I am afraid that I will lose the work that I have done. I recently ...
2
votes
0answers
143 views

What's the difference between “content menu links” and “menu links”?

I am using Features module to export menus and related links. In my Drupal installation I have both "content menu links" and "menu links" available to insert in a feature. What is the difference? They ...
2
votes
1answer
410 views

Override Commerce Kickstart Features ( and Features Override module error)

I have the Drupal Commerce Kickstart bundle in my project. This bundle contains a bunch of Features. Most of them are overridden now. It's not good to have most of setting inside the DB instead of ...
2
votes
1answer
471 views

How do I enable a features module in the setup of a simpletest testcase

I'm trying to test some permissions that are related to custom node types and Organic Groups that I've built and packaged as a feature using the features module. I'm trying to enable the feature (and ...
2
votes
0answers
233 views

Custom entity not showing in Features

I have created a custom entity - which seems to be working pretty well. I can create Bundles, build views on those bundles, create individual entities ad nauseum, I can reference the entity in entity ...
2
votes
1answer
95 views

How to build an install profile progmatically

I need to create an install profile from an existing site. My question is what to do with the site configurations? The site is pretty complex, so putting them manually in the profile is out of the ...
2
votes
0answers
45 views

Changing the link in a Feature box to an external link

I am a Drupal beginner working with an already created site. That said, I have been trying for days to change the text within the feature box to an external link. Currently, all of the text in the ...
2
votes
1answer
126 views

Drupal features recreate issue with CCK fields

I have created a form using CCK with conditional fields. If I use the features module to recreate and export the new settings to my staging machine the form comes out flat. So for example my form is ...
2
votes
0answers
821 views

Dependency problem with Entity API + Rules + Features at deployment

I'm saving rules in a feature. I added a new rule that has as dependency a module that I added to the project's repo. This new module was correctly added to the feature's dependency list in the .info ...
2
votes
1answer
165 views

Node content in panels vs. configuration in code

I am trying to keep most of the configuration in code (and separating content and configuration). When I have a panel that is supposed to contain a content from for example a node, I would like to be ...
2
votes
1answer
148 views

Is it possible to have term permission vocabulary id's match taxonomy vocabulary id's when creating a feature

I am attempting to create a feature to be used in an install profile that exports a vocabulary and the permissions that are associated with the vocabulary. The problem that I am running into is that ...
1
vote
1answer
123 views

How do I add a view with a module when installing a module?

In Drupal 8, I want a view to be created when a module is installed. I have already used the Features module to export the view, so I have the yml file that creates the view. I can't find what to ...
1
vote
1answer
3k views

What causes DatabaseSchemaObjectExistsException error on existing table while reverting feature?

When trying to revert my updated exported changes on features from development site to production site via Drush, it returns DatabaseSchemaObjectExistsException error stating that there is an existing ...
1
vote
2answers
110 views

Should I activate feature modules on my dev site?

I have installed the features module on my dev site. I am using it to store newly developed site functionality within new modules. I then install the modules on my live site. I was wondering, ...
1
vote
1answer
1k views

Rebuild features on cache clear

I have a distro with many preinstalled features (Panopoly). Since I have upgraded core to 7.24 I can see an additional setting at admin/structure/features/settings, see attachment. On production, ...
1
vote
1answer
4k views

How to import a 'Feature'?

I have exported certain items with features module and have my *.tar file, where do I go in drupal to import this Feature in my destination site???
1
vote
1answer
276 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 ...
1
vote
2answers
635 views

What advantages does Features offer in deploying changes

What advantages does using features to manage deploying changes (versus keeping code updated and data fresh)? The Features way (near as I can discern): Features takes configuration (which is ‘...
1
vote
2answers
1k views

Feature stuck on Overridden - “Overrides” column empty, “Default” not

I have a feature which is constantly stuck at overriden, no matter how times I try to revert or re-create it. I have gone through the standard checklist, including uninstalling and reinstalling, and ...
1
vote
1answer
877 views

Export block content in drupal 8

I have made my custom block content. I created a block with it and I assigned it to a region. How can I export the actual block content not the block type?
1
vote
1answer
38 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. ...
1
vote
1answer
630 views

how to add .install file to the new feature folder?

I have created new feature and needs to add .install file to create new table like create new module way but the table have not been created can you advice me with the right way to do or i have to ...
1
vote
3answers
2k views

Maintain same node ID's when importing nodes

I am using Node Export with Features module, and then importing content while installing my profile. All works fine, but I want the node ID's to be retained while importing. I want it to be in same ...
1
vote
1answer
51 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 ...
1
vote
1answer
1k 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?
1
vote
1answer
457 views

Difference between strongarm, field base, and field instance

What is the difference between the following options when using features? What is each of them for and an example of why each would be used. strongarm field base field instance To make things even ...
1
vote
1answer
45 views

Does turning off features modules affect what the features modules does?

I have a site that uses the media_vimeo module and I need to turn it off to install another module, but I can't turn it off as its currently being used by a bunch of feature modules. Would turning off ...
1
vote
2answers
376 views

Does disabling a views features module remove the view from the DB

Inherited a site with 3 features modules, one is just a collection of views. i disabled it in the features interface. expecting it to disable all the views that were defined in that features module. ...
1
vote
1answer
37 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 ...
1
vote
2answers
148 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
36 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. ...
1
vote
2answers
47 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 ?
1
vote
1answer
464 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 ...