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
4
votes
5answers
2k views

Possible to use drush to list overrides for all features?

I believe that drush features-diff will list the overrides for a specific feature and that drush features-list will list all features. Is it possible to list all of the overrides for all features, ...
4
votes
1answer
919 views

Is there an advantage to Featurizing a view, over using Views' export?

I've created a View in Drupal 6 with Views 2. If I want to get this view from my dev site to production, is there a compelling advantage offered by using Features over using the built-in Views export?
4
votes
2answers
1k views

How to export pseudo fields display configuration to code

How can I export the configuration of pseudo fields as set from the display configuration for my entities types and their bundles ? When exporting a normal fields instance (with Features) its display ...
4
votes
3answers
126 views

Is there is a module like, “dbcm”?

Is there is a module like dbcm in Drupal 7? I want to know changes happen in database, so I can update my production sites with all configuration changes: new block, new views, new (CCK) fields. I ...
4
votes
3answers
2k views

What could cause the Features create page to time out?

The site I'm working on is timing out when I try to open the admin/structure/features/create page. I'm not experiencing the problem elsewhere in the admin, just there. What does this page do ...
4
votes
3answers
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, ...
4
votes
3answers
270 views

How to keep content out of features?

I have plenty of Panels pages that I track using the Features module. Currently, if I create put a Custom Content pane inside of a page, all of the content that is inside that pane is then stored in ...
4
votes
6answers
2k views

How to enable inactive fields

I have a content type with a field that has been set to inactive. This happened after I reverted my feature in an attempt to undo a change I made to the content type. The error message given is the ...
4
votes
2answers
1k views

Features Hook after successfull import

I wrote a feature module that contains content types and test nodes. After importing those nodes, a certain cache has to be rebuild. Both hooks I know (hook_install() and hook_enable()) are called ...
4
votes
1answer
6k views

Export menu links with features

I'm trying to export menu links with features but it saves the node id in the feature, but obviously the nid is different in dev, test and production. I can't use UUID because nodes are created in ...
4
votes
1answer
423 views

Can you use the features module to replace existing functionality

Say I have an existing content type and related view on a site. Can I install Features and convert that content type and view into a feature. I want to start using Features for better portability.
4
votes
1answer
120 views

Splitting existing feature into several smaller. Safe?

I have this really big feature where all CT, fields, views etc are exported. As far as I understand it makes sense to make it into smaller features, more context specific, like features_views, ...
4
votes
1answer
175 views

Auto-update of features?

On a production site, I don't want admins to be able to perform many tasks at all, to limit the risks the site is exposed to, so modules like "Views UI" will be turned off. However, I still want a ...
4
votes
3answers
770 views

Programmatically enable Mollom protection for a form

I want to enable Mollom protection for a number of forms in my development environment, and then export that configuration to QA and to Production without touching the Admin interface in QA or ...
4
votes
1answer
421 views

What are Drupal Apps?

I've been seeing the use of Apps. What are drupal apps? Are they just glorified Features with a backend UI? What are the differences between the two on a lower level? The apps project page only ...
4
votes
1answer
258 views

Does Strongarm need to be enabled on Production site using Features?

I'm using Features in order to make my site content configuration exportable for purposes of staging my server. I'll be using Strongarm to make some of the site variables exposed for management in a ...
4
votes
2answers
541 views

Block-Placement in a Feature via Context

I have got a Feature consisting of a few boxes and a context which puts those boxes in the right regions. That works if I install drupal and my theme and activate the feature. But it does not work if ...
4
votes
2answers
695 views

Cannot import Paragraph based Feature into new site

Perhaps someone with a bit more Features expertise can help me here. I have a Drupal site with 25 or so Paragraph types that I would like to export (one by one) to its own contained Feature. I ...
4
votes
0answers
961 views

Difference between using features, strongarm & ctools exportable api [closed]

Whats the difference between using features, strongarm or the ctools export api to export config settings? I cannot use the features modules so I need to find an alternative because its not part of ...
4
votes
1answer
182 views

How use strongarm with domain access?

Lets say I have 2 domains, A (Site A) and B (Site B). I achieved this with domain access module. Then with features and strongarm I would like to export site_name variable from both domains. How can I ...
4
votes
1answer
205 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
2answers
10k views

How to run cron more often than every hour?

I'd like to run cron every 5 minutes, but the UI doesn't offer any increment of time smaller than an hour. I'm assuming the solution is as simple as creating a feature module for the setting, and ...
3
votes
3answers
202 views

How can I make or render a website with wiki features(for e.g wikipedia) with Drupal?

The question is can I render wiki features in my website which is to be made with Drupal.For e.g if I make a website with tons of features how can Wiki feature be made functional with Drupal.If no ...
3
votes
2answers
2k views

What exactly is “Overridden”, “Needs review” & “Revert component” in Features?

I can see Overridden, Needs review & Revert component in Features. If I want to get latest updated features always, what I will do? What drush fr, drush fu will do internally? What I understood ...
3
votes
6answers
248 views

How to manage text on my site that's not node content? [closed]

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 need ...
3
votes
2answers
112 views

Customize a “Feature”

I'm trying to create a feature that includes an Automatic Nodetitle. I want to change two things related to Automatic Nodetitle: Hide Title in content creation and populate the field with tokens. ...
3
votes
5answers
205 views

Why does the “admin/modules” page show up in the wrong language?

The error appears on a single language page with just one other language than English enabled (here: German) and set to default. All other admin pages show the the right language. Admin theme is "...
3
votes
2answers
1k 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 ...
3
votes
3answers
201 views

User roles and keeping their IDs when using features

I have defined some user roles and I'm assigning them to users through the rules module. I have created a feature with the rules and the roles and moved them to another site. My problem is that the ...
3
votes
1answer
657 views

What are the alternatives to Features module in Drupal 8 [closed]

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 ...
3
votes
1answer
2k views

How to create content type programmatically with fields and vertical tabs

I'm creating a module using Drupal7.26 and want to create content type with different type of fields like radio/checkboxes/drupdown and textfields. I'm following the last comment by Jason Gray in THIS ...
3
votes
2answers
1k views

Can Features package its dependencies?

I have just created a Feature that has about 10 module dependencies. I installed the feature on the target Drupal instance, and discovered that the dependencies were not included in the feature ...
3
votes
5answers
802 views

How to make a Feature available only to certain Spaces?

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 ...
3
votes
1answer
50 views

How to transfer a panel variant from one site to another?

Is there a way to do this with Features? I can't download and install any additional plugins to do this on this site. Would anyone know if this is possible?
3
votes
2answers
220 views

Why does my 'UUID, Webform, Node' Feature remain overridden?

The Feature I have created is stuck in the "Overridden" state. (I have also deployed the Prod Environment's database to the Dev Environment's database to ensure that everything was in sync during this ...
3
votes
4answers
93 views

How to re-create content types using the feature module which removes deleted fields?

I've been looking into the Feature module to move changes from Dev to Staging without redoing everything. On my Dev site I made changes in the content types (added new fields, deleted some field). ...
3
votes
2answers
1k views

How to export field's default image in Features

I have Image field type and provide Default Image. This default image doesn't seem to be exported by Features. Is there another module that need to be added so the image also exported? Or are there ...
3
votes
1answer
1k views

Update hooks and features_revert

I have a problem in a custom module I can not figure out, I have an update hook like this one: function article_update_7003() { features_revert(array('article' => array('field_base'))); } But ...
3
votes
2answers
326 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 ...
3
votes
2answers
829 views

Featurizing a role, losing permissions

I have created a role, Admin. Admin has permissions: "Assign roles" (via RoleAssign), "Access administration pages", "View admin theme", and "Administer users". I export the role with Features (...
3
votes
2answers
211 views

How can I create a Feature and have it saved under 'features manage' tab?

I see that I can create a Feature, but the only option is to download it. Is there a way I can just have Drupal import it to the manage tab of Features?
3
votes
1answer
140 views

How to feature-ize multiple vocabularies applied to multiple content types?

Each of my content types is being exported into its own feature. I now need to export several vocabularies that are associated with the content. Some of the vocabularies are applied to multiple ...
3
votes
1answer
2k views

Is there way to export block layout settings?

I created a custom theme and I was wondering if there is way to export my block layout settings (location and order of each block). This way will be easier to apply my theme in a different site. I'm ...
3
votes
1answer
309 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 @...
3
votes
1answer
2k views

How to export all feature components with drush?

With drush feature-export you can easily create a feature from a component. But is there a way to easily export ALL components into a feature? In the ui you can easily check all content types or all ...
3
votes
2answers
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
2answers
704 views

How can I add a custom content pane to a feature?

I have a custom content pane that I'm using in a panel that I would like to include in a feature. In the features UI, I don't see any options to add it to the feature; however, on the custom content ...
3
votes
2answers
906 views

How to integrate custom code into a “Features” feature

My specific problem: In a Feature, I have a View. I want to use this View on several different sites. The View has a nid-argument, which validates Node:type == [node_type_1]. When the Feature get's ...
3
votes
1answer
426 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 ...
3
votes
1answer
275 views

Should Features modules be unit tested?

When you write a module, you write unit tests (or you should - I don't because I am a bad person, but I want to change - honest). Should modules generated with Features be unit tested where ...