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
1
vote
1answer
132 views

How to export Group module entities with the Features module?

I'm trying to find a way in D7 to export groups created with the Group module using the Features module. I have managed to export Group Types and Group Roles, but haven't found a way of doing the same ...
1
vote
0answers
113 views

Unmet dependencies installing with Features with fields, paragraphs, blocks and content types

I have defined several content types, paragraphs, and views for these content types and the idea was to define different features to export and import these content types. I had defined different ...
1
vote
0answers
45 views

How to export modules list to Feature?

I want to create Feature with a list of development modules. I want to enable this Feature only in a dev environment. However I don't see Dependency component in Feature components list. Do I have ...
1
vote
0answers
39 views

Why my custom vocabulary by default is in Site feature?

I've created custom vocabulary and I want to export it as feature to my existing module. When I run: drush fc 25: taxonomy_vocabulary:my_vocab Provided by: site It's blocking me from exporting ...
1
vote
0answers
70 views

How to export Roles and dependent selected permissions using Feature module?

I have created some roles and permissiones. I have set dependent permissions to roles. Now, using Feature module, i am able to export and import created Roles and permissions, but not dependent ...
1
vote
0answers
44 views

Exported feature, panelizer fields are unknown when installing in another environment

I can't seem to find out why my panelizer default layout is not being installed correctly after being exported using features. I am exporting a content type, with some default panelizer settings. ...
1
vote
1answer
247 views

How to check if view is added in a feature?

For Drupal views is there any way/field which tells us if your view is added to a feature or not. And if yes in which feature it is added? I have a view which I need to check if it is added in a ...
1
vote
1answer
44 views

Using Features to create module with nested field collections

I'm using Fred Parke's method to create a content type module by first building the content type and then turning it into a feature and exporting it. It works perfectly well, except for when I include ...
1
vote
1answer
270 views

Configuring Views into Features

I have inherited a complex website which has the Features and Views module installed. I can configure a Feature to include a View as you would expect. However, I'm putting together a private website ...
1
vote
0answers
28 views

Override a feature exported panel variant by adding pane to panel variant programmatically

I have a feature export of a panel variant(node_view_panel_context_ID). My requirement is to add a pane(fielded pane) to panel variant programmatically to the above mentioned feature.
1
vote
0answers
34 views

how to add new changes to live site without redoing everything

I have a site which is running on a huge userbase. The site is about taking online courses and getting certificates. I am using profile2 which adds some extra fields in user profiles. Also i am ...
1
vote
0answers
43 views

How to revert a feature in hook_update programatically? [duplicate]

I've created a feature to update a menu. Then in my deploy module, I did this: function phoenix_deploy_update_7106() { $feature_list = array( 'campus_dropdown', ); features_revert($...
1
vote
0answers
45 views

How to change (via code) the Name and Description for a content type created by a contrib module

I'm wondering how we can change, via code, the Name and Description for a content type that is provided by a contrib module (in this case, the "User Alert" content type provided by the user_alert ...
1
vote
3answers
85 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.
1
vote
0answers
24 views

Drupal 7 menu translation using feature

What I am trying to achieve is I have a drupal site which is basically in English & German. I have installed & enabled all the necessary modules for Translation, and my content is also ...
1
vote
0answers
59 views

How can I disable all features without losing data created with it?

In my project I've used the Features module to deploy content types with its fields and field groups, image styles, views, panels, taxonomies. The project became very large and the features start to ...
1
vote
0answers
36 views

How to restore missing field from feature?

I've not removed any tables from db, but when I was trying to edit user profile I've got error about missing field from profile2 entity: EntityMetadataWrapperException: Unknown data property ...
1
vote
1answer
28 views

make view modes for commerce enabled by default when exporting with features

I am trying to make the Drupal Commerce view modes administrator and checkout_pane enabled by default when I export with features. I have strongarm dependency required; but I do not see the view mode ...
1
vote
0answers
170 views

How to set (import) oembed's ctools exportable settings as defaults for the module programmatically?

Oembed provides defaults for some providers (e.g. youtube, twitter etc) out of the box. It also provides the ability to export each provider's settings through the UI. I have added a new URL pattern ("...
1
vote
0answers
20 views

Custom menu-items permissions are erased when features are refreshed

I am using D7.37 with features 7.x-2.5 and Features Tools 7.x-2.x-dev (2014-Nov-27). I have 2 environments (dev, prod), and I use git and features to sync. After I refresh features and download to ...
1
vote
0answers
108 views

How can I export Apache Solr settings?

I selected entity types and bundles in admin/config/search/apachesolr. So is there any way to featurize or export these settings? If it can be done by Strongram module which variable I should use?
1
vote
1answer
53 views

features issues not overriding

I have a feature that I copied from site A to site B. Site B is created using a profile install based on site A. Now I have to enabled a feature that I copied from A to B but whenever I enable this ...
1
vote
0answers
19 views

Why are permissions hijacked by Features module?

Trying to understand what exactly I have done here. I have made a Feature to export CCK config. I added CCK: content to it for a bunch of content types, and so it contains auto-detected dependencies ...
1
vote
1answer
24 views

What's the proper way of working locally with freshly created features?

I have recently started to using Features, it was due time. Once thing I started to wonder, is, once you created your feature locally, what's the best way to work with it. I first thought that ...
1
vote
0answers
25 views

Export Workflow 2.4

I'm trying to export the workflow configuration from a site using Workflow 7.x-2.4 but the state names and transitions are not well exported. I'm exporting some strongarm and workflow variables but ...
1
vote
1answer
126 views

How do you export forum topics from one drupal installation to another?

I have tried to export a list of forum topics and/or containers from my development environment to production using features, strongarm, migrate, node_export and bulk_export. So far none have worked. ...
1
vote
1answer
161 views

How to fix Feature with Panels

I am managing a website that makes extensive use of panels. I had a "system" panel page with Title = 'Registration Template' and a path of 'registration/%registration'. Somehow, in updating the ...
1
vote
1answer
85 views

Include the user history visibility settings in a feature

I have two view modes for the user profiles, the default one and a custom view mode called "Header". In the default view mode I have chosen to show the user history information ("Member for...") but ...
1
vote
1answer
44 views

How does Strongarm decide which variables need to be included in a feature

When you enable Strongarm on a site that is already using Features, do these two modules work together to determine which Strongarm variables need to be included in a Feature, or is there additional ...
1
vote
0answers
883 views

How to export CKeditor with Features

I am using CKeditor and I would like to be able to export my configuration with Features. I find that I am able to put all my CKeditor profiles into a Features module. All the settings are stored in ...
1
vote
0answers
44 views

How to programatically update time offset in a Featurized Rule?

I have a rule that compares the value of a date field to the current date. I also have a custom module with a config form that allows the user to set a number of hours of time offset. The rule is ...
1
vote
1answer
43 views

Fields created by a Feature generated module remains after disabling the module

In my-site-com I created a new feature to show the component: fields , then I added some fields, I download the feature as a module called my-feature-module, then I saved and enabled this module in ...
1
vote
1answer
173 views

How to split configurations in features to minimize conflicts

I need to put all configurations of a site to features. Some say that it is not a good idea to put all of the site configurations in one big feature. I have also experienced strange behaviour of the ...
1
vote
2answers
874 views

Could anyone suggest a Drupal database versionning tool? [duplicate]

Possible Duplicate: How do I manage collaborative development on a Drupal site? Is there any Drupal database version like GIT for versionning files ? with drush or any thing else ? I've already ...
1
vote
0answers
259 views

Delete CCK fields that are flagged as “inactive”

With D6, I have a Feature that defines a content type and a number of fields. It's currently deployed and living happily on Production servers. My Feature is now changing, and some of the old CCK ...
1
vote
1answer
228 views

Migrate theme settings between a multisite install on Drupal 7

I have set up a second site on a multisite development instance of Drupal 7. We're using a subtheme based on Adaptive Themes. Being that plans call for about a dozen sibling sites, I would like to ...
1
vote
1answer
637 views

Updating the block region/pages settings for a NEW views block during an implementation of hook_update_N

I have a feature module which provides a view which has a block component. To keep things simple, the module I'm writing a hook_update for is 'mymodule' the feature which implements the view is '...
1
vote
1answer
618 views

How to make a reference to an entity using the uuid of the entity?

Is there any way to make a reference to an entity (using refereces, entity reference or relation) using the uuid of the entity? I'm using features and uuid_features to export the content but ...
1
vote
0answers
309 views

How can I make a feature with organic groups, spaces, context in drupal 7

I'm trying to build features that behave as follows: Enabling the feature on the Features tab of the group turns on the relevant create content links, and menu items Disabling the feature removes ...
1
vote
0answers
76 views

Features components spontaneously reverting

On a multisite, we're using Features + UUID Features to manage a large quantity of default node and menu content. Users can easily spawn a new multisite instance; the installation profile enables a ...
1
vote
0answers
72 views

How do I resolve feature conflict for two different content types? [duplicate]

Possible Duplicate: How do I resolve this conflict between two Feature modules? I have created two content types content type A and content type B. Then I have added 3 fields to content type A(...
1
vote
0answers
52 views

How do I add a conditional ie 6,7,and 8 stylesheet to my feature?

Where and what code do I need to add to include a conditional ie 6,7,and 8 stylesheet directly in my feature?
1
vote
3answers
339 views

Views display settings are in the database but don't show up in views UI

I'm trying to create a copy of a live site and use it as a test site, but am having trouble with views. There's a view whose settings are in the database but don't show up correctly in the views UI. ...
1
vote
1answer
428 views

Is it possible to export organic groups global roles using features?

I like to keep functionality that I build in features, both for version control and deployment. I'm new to using Organic Groups and I wanted to know if it's possible to add an organic gorups global ...
1
vote
2answers
2k views

How do I add a custom template to my feature?

I have a feature with a few views. How to I add a custom template file to it? Edit: Based on sheena_d and schnippy's suggestions, here is my entire .module code. (It is still not working) <?php /*...
1
vote
1answer
454 views

Infinite Redirect Loop with PURL and spaces_og

I created a calendar feature for organic groups, and tried to enable it in a group with spaces_og. The page refreshes saying changes have been saved but the feature is still disabled. In the logs, ...
0
votes
2answers
155 views

After importing a content type from Features, What's the correct way to manage it?

I've taken control of a project recently, and I see a workflow I've not used before. The original developer would create content types on his dev machine; use Features to export the content type's ...
0
votes
2answers
111 views

How to ensure that features dont get overidden

I tried many times with many setting in features but when i add it and enable it always its overridden and i have to go and revert it. Basically block settings and strongarm have to reverted. So is ...
0
votes
3answers
39 views

How can I featurise / store changes to a view provided by a module?

In my case, Workbench and Workbench Moderation. Workbench Moderation gives me a "My Drafts" and "Needs review" view which I can edit to my taste, but I can't see a way of featurising the view or ...
0
votes
3answers
653 views

Export Drupal Commerce Checkout Settings

I'm wondering if there's a way to export Drupal Commerce's checkout pane settings to code? I've tried commerce_features but it doesn't appear to do it. For other commerce related things, like ...