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.
111
questions with no upvoted or accepted answers
4
votes
1
answer
997
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
1
answer
183
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 ...
3
votes
1
answer
95
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 ...
3
votes
1
answer
212
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:
...
2
votes
0
answers
116
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
2
answers
67
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
1
answer
35
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
0
answers
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
1
answer
123
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
0
answers
37
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
0
answers
145
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
2
answers
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
0
answers
74
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
0
answers
149
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
0
answers
240
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
1
answer
98
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
0
answers
46
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
1
answer
127
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
0
answers
830
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
1
answer
169
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
0
answers
62
views
How can I programmatically configure commerce checkout pane settings?
In Commerce, we have custom pane and checkout configuration that applies to all orders. Per this d.o issue in commerce_features, this is supposedly doable. However, Commerce's default configuration ...
1
vote
0
answers
90
views
Git branching strategies with a small team to develop a Drupal site
We're a small team (5-6 developers) building a Drupal 7 site. Previously, we've used Features (https://www.drupal.org/project/features) to export our configurations from development to production. We'...
1
vote
1
answer
91
views
How can I remove Features modules from a site without affecting functionality?
I have inherited a site that makes heavy use of Features, and this constrains what I can do to permissions and creates dependencies that don't otherwise exist. Something as simple as turning off the ...
1
vote
0
answers
44
views
Can I migrate importing 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 be ...
1
vote
0
answers
58
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
1
answer
165
views
Does hitting 'recreate' recreate the feature from the site's elements, or vice versa?
Does hitting 'recreate' recreate the feature from the site's elements, or vice versa?
I tried hard looking to this in the documentation, but I couldn't find a clear explanation.
1
vote
1
answer
215
views
How do I deploy a Page Manager page using code?
I've created a Page Manager page using a Panels layout and a single Variant to act as the desired page. I'd like to store the settings in code for deployment to a different server.
Using Features to ...
1
vote
1
answer
149
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
0
answers
127
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
0
answers
50
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
0
answers
42
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
0
answers
79
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
0
answers
46
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
0
answers
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
0
answers
35
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
0
answers
50
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
0
answers
25
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
0
answers
61
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
0
answers
45
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
1
answer
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
0
answers
172
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
0
answers
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
0
answers
113
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
1
answer
60
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
0
answers
20
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
1
answer
25
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
0
answers
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
1
answer
163
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
1
answer
166
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
1
answer
45
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 ...