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

Features local permission issue Warning: mkdir(): Permission denied in features_export_build_form_submit()

When I am trying to generate a new feature on local, it runs in permissions issue beginning with Warning: mkdir(): Permission denied in features_export_build_form_submit() There is no www-data ...
0
votes
1answer
232 views

Simpletest: database exception during setUp

I'm writing lots and lots of test cases for different modules and have come across a rather strange error about which I'm hoping others may have more insight. In my setUp function override, the first ...
0
votes
2answers
49 views

When you recreate a Feature, do you need to uninstall and re-install it?

When you recreate a Feature, do you need to uninstall and re-install it or is it OK to just delete the feature folder and paste the new on in its place?
0
votes
2answers
2k views

Is it possible to export all block's region settings to Features?

I'm about use Features to deploy all configuration of my Drupal (7) site. Now I'm wondering if there is a way to export the entire settings for block to region assignment without having to export ...
0
votes
1answer
82 views

How to overwrite a view template from within a module?

Till now I only used the theme folder to overwrite specific view templates. In order to be able to separate code from theming and bundle functionality I would like to put this view template into a ...
0
votes
2answers
2k views

Missing Menu Links generating a Feature

I am using Features that includes several basic site features such as the main menu and another custom navigation menu. Both are two level menus. I have included the menus in the Feature, but when I ...
0
votes
1answer
177 views

Features along with configuration synchronization

I am planning to use features to bundle some of my specific works. Example: I want to bundle article content types along with its views, fields and related other stuffs. Can I just use features to ...
0
votes
1answer
48 views

What do I do after I merge feature files with a remote server?

I'm having real trouble getting my head around the Features module. Would someone be able to help me understand it a little better? Perhaps describe it in laymans terms? Here's the scenario I am ...
0
votes
1answer
448 views

How can I use configuration management to “snapshot” config on my dev server while I try new things out?

I was a heavy Features module user in Drupal 7 so I'm trying to use Configuration Management in Drupal 8 to recreate my old workflow. In Drupal 7, when I wanted to try making changes, I would: Add ...
0
votes
1answer
51 views

How does Drupal handle update of multiple module bundles of features without breaking stuff?

Let's say I have modules A, B and C. I create a feature and it makes them into a single module. Then one day, an update makes A, B and C not compatible, or maybe one deprecated or something. Then ...
0
votes
1answer
71 views

Drush only partially working in both VM (Ubuntu) and host OS (Mac OS X 10.10)

I am currently running on a MacBook Pro with OS X 10.10 (Yosemite). That is the host machine and OS. I am using a synced folder between the host and my VM, which is running Laravel's Homestead VM (...
0
votes
1answer
245 views

How do I add a Commerce product type to a feature?

I have a custom product type that I created in my local dev environment and I'm trying to export it into a feature. However, I can't seem to find where the product type is stored in the Features ...
0
votes
1answer
86 views

Exporting Site Configuration Settings into Features

This is on a Drupal 6 site, and we want to export several settings (like CSS aggregation) into features, however it doesn't appear like there's anyway to do this. Do we need to write a custom feature ...
0
votes
1answer
60 views

What module should I use to save a module settings in a feature?

I am needing some additional power for my Features. I have several modules that have their own settings (like css injector... yeah, I know) which do not appear in teh list of items that can be saved ...
0
votes
1answer
142 views

Git flow feature in branch on stage server

I am testing out a git feature and pushed the branch to the staging server to show the client. Because it is a drupal feature, I think I need to revert the feature on the branch on the stage server. ...
0
votes
1answer
880 views

How can I export shortcut sets and shortcut links in Drupal 7?

I am using Drupal 7 and I have some shortcut sets (per role using the shortcut per role module) and shortcut links in them and I would like to export them either using the features functionality or ...
0
votes
1answer
904 views

For multilingual sites, where are translated variables for the non-default language stored?

I'm managing deployment using the Features module. Using Strongarm, I have added the site_403 (access denied page) variable to my feature. However, this only contains the value for the default ...
0
votes
1answer
194 views

Enable modules across platforms using Features/Drush

I am wondering, could this be automated. I download and enable contrib modules on @dev I push files on @live (including new modules) via Features/Drush I tell @live to enable new modules, so servers ...
0
votes
2answers
301 views

Creating Feature with content types imported by Feature

Exporting several content types (7) from old website and importing them to new one worked perfectly. After that i have done some basic changes in imported content types (changed widgets in few text ...
0
votes
2answers
733 views

Which variables do I need to export with Strongarm?

I have a theme based on adaptivetheme, which uses the color selector tool to allow one to edit the theme's color scheme through the UI. When exporting a feature using the theme, the following ...
0
votes
2answers
164 views

My Feature depends on a module. Do I have to specify that module's dependency, as well?

My Feature depends on Views. Views has a dependency on Ctools. Do I have to specify Ctools as a dependency in my feature as well.
0
votes
2answers
148 views

Features module working confusion

I want to use features module. Can i use this module as stand alone and get it working or do i need help of modules like strongarm or context module. Will have have any added advantage if i user these ...
0
votes
2answers
43 views

Available node language only English

I have a custom content type with "Set custom language as default for new content" and "Require language". Custom default language is Current language. Entity translation is defined with "Current ...
0
votes
1answer
24 views

Features 8.x-3.7 not writable on Window's Ubuntu

8x-3.7 features, most stable version, but I am having trouble writing to custom module on the UI. My structure is as follow: -modules/ contrib/ features/ custom/ news_blogs/ ...
0
votes
1answer
76 views

Export node display with Features not taking in account format of fields

I'm trying to export a node display with features and I already created the feature with the display and imported it to another site. The problem is that the display has some differences, mainly in ...
0
votes
1answer
234 views

Exporting a feature to a specific directory using drush

I am creating a new feature using drush. I looked up the component I want to create the feature with. When I run the command drush fe my_feature views_view:my_cool_view, drush wants to put it in sites/...
0
votes
1answer
198 views

How to use the Features API to enable a feature?

So I looked at the features API, and in order to enable a feature, they use this code: function hook_pre_features_enable_feature($component){ }; So I go in and add this: function ...
0
votes
1answer
195 views

How to auto-yes “drush features-revert-all” … via terminus

On a local machine drush features-revert-all will convert all features to codebase definition. On a local machine ... drush -y will auto-yes any command. On a local machine terminus -y command ...
0
votes
1answer
48 views

How can I implement a feature to change settings?

in our site we have a country field in a registration page of our drupal site. admin can download the all registered users as excel report. I added a new country field in my users.XLS report in data ...
0
votes
1answer
25 views

Questions about Blocks and Menus

I'm new to Drupal, so bare with me... I created a menu that I placed inside the Sidebar First Region. 1st question: I was able to place my menu in the Sidebar First Region by going to the blocks ...
0
votes
1answer
56 views

drush features-list-packages in drupal 8 doesn't include prefix

I've just started using Drush and Features with Drupal 8. I'm running into a point of confusion, and I can't figure out if it's a feature or a bug. In the past our team prefixed all the site-specific ...
0
votes
1answer
38 views

When exporting a Feature, how can I turn off all page cache related settings?

I’m trying to export a Feature that would be used in a typical development environment. I want to have anything related to page caching turned off. But on the create feature page I’m not seeing where ...
0
votes
1answer
96 views

How can i Use drupal 8 CMI between two different sites?

I think, normally the CMI works between cloned sites, not different sites. Is there any way to do that with CMI ? or still we hardly depends the features module ?
0
votes
1answer
133 views

Drupal 6 to Drupal 7 content type migration using feature module?

We have to upgrade Drupal 6 site to Drupal 7. We know that we can use migrate module for importing Drupal 6 content. But I'd like to know if we can use Features module for importing content types, ...
0
votes
1answer
57 views

What is the best way to import new changes from dev to live site using feature module

I have a live site and I have done many new changes on the dev site already. I would drop the database on live and import the dev DB into it but there are users on live site. I came across ...
0
votes
1answer
63 views

Feature automatically reverts on cache clear

I have an issue with Features which contains a view. If I update the feature and then clear the Drupal cache, the view will revert to the configuration in the updated feature. My understanding was ...
0
votes
1answer
125 views

Strategy for deploying Panels with features

I've been exporting Panelizer configuration to features and pushing up to production. My strategy so far has been: Config is created on local and pushed up via features Content, such as Fieldable ...
0
votes
1answer
79 views

Add permissions for a new content type

Context: I created a new content type (press room nodetype) locally and made a feature with it so it is easier to deploy on my dev-stage-prod environments. This works perfectly well. The thing is, is ...
0
votes
2answers
203 views

Reverting blocks and other pseudo-exportables in an install hook

We have a medium-sized Drupal 7 site whose configuration is almost entirely stored in code, in a single Features module. In order to permit automated testing and a cleaner development workflow, I'd ...
0
votes
1answer
24 views

How to add delete link for imported content type

For the content type which is imported by feature, there is no delete link for it, but we can delete them by going to the url /admin/structure/types/manage/YOUR_CONTENT_TYPE/delete My question is how ...
0
votes
1answer
28 views

unable to extract dumped files in .tar extention on my site

I can't extract my backup dumped with .tar extention. so i can't work with features can I download features in .zip ?
0
votes
1answer
128 views

what is the strongarm variable addititonal_settings_active_tab_*

I am using the Features and Strongarm module to move my work between sites. I am using them as a way of version controlling changes made in the database (as Configuration Management module has many ...
0
votes
1answer
162 views

How to include multiple Views in an already existing feature?

I have to work with an old Drupal 7 site. It's using features. I created some new views, now I have to include these 2 new views into a feature which already has 1 view. How can I do it and which ...
0
votes
2answers
626 views

Override preexisting rules

Currently, changes are replicated by hands (and rules exports) from dev to a test stage available to the customers. There is actually no live site. We are going to use the Features module and ...
0
votes
2answers
282 views

How can I split up a massive feature module into multiple smaller modules?

I have one massive unmaintainable features module that I want to split up into smaller, manageable features. Can I disable the massive module without it removing or disabling content types and ...
0
votes
1answer
95 views

How to exclude certain variable from the Feature code?

In my Feature I wanted to add the multilingual path_breadcrumbs_home_link_title for en and de, but when generating the feature by including the realm_variables there is the site_name and site_slogan ...
0
votes
1answer
90 views

Features code changes overriding automatically

I have a panels page in Features but as soon as i change the Features code, it automatically overrides the DB, this means that i don't get to see the "Overridden" state grey button, but always the ...
0
votes
1answer
908 views

How to add a pane (view content pane) to an existing panel page via a Feature module or programmatically?

I have feature module A that provides content type X and a panel variant for content type X. I have another feature module B that provides content type Y and a view content pane of three latest items ...
0
votes
1answer
36 views

Drupal Feature pushed to staging site

I am just getting into drupal features and wanted to make sure I understood something. I updated my drupal features. Used Git Flow to finish the branches and create a release. I pulled the new ...
0
votes
1answer
118 views

Created Date Doesn't Import (D7 to D7)

I'm using the Node Export Features module to move over some blogs to another Drupal installation. Everything seems to transfer but the created date. It resets all nodes to the present date. How do ...