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.

112 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
206 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: ...
4
votes
2answers
723 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 ...
3
votes
1answer
90 views

What's the best practice way to test block Views with SImpleTest?

I've created a block view, which I've positioned on the page using the admin UI. I've exported my view using Features and fe_block for its block. I'd like to write a SimpleTest to verify that ...
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
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
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
0answers
234 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 ...
1
vote
0answers
38 views

Can I migrate Drupal 6 to 7 by using Features 7 to import Features 6 code?

I am attempting to migrate Drupal 6 to Drupal 7 using the migrate_d2d_ui module, but the cck fields are not coming over correctly. Can I use the Drupal 6 Features module to generate code which can ...
1
vote
0answers
47 views

Features module import error

I have a bit complex work on Drupal 8 site, exporting everything via Features I created groups using the Group module. I also have a content type installed as plugin-a group content to the group ...
1
vote
1answer
131 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
112 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
43 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
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
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
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
35 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
52 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
125 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
160 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
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
877 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
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
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
635 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 '...