The Features module is primarily for use by site developers to export elements of a site configuration for use in another site.
0
votes
0answers
12 views
Repackaging tokens and mail templates in features
I am using Mail Editor to store mail templates. As I am using conditional tokens inside the mail templates I wonder how can I include these particular personalization in my features's package. It ...
1
vote
1answer
173 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, ...
3
votes
2answers
159 views
What does a basic module look like that includes a content type, a couple of fields and a view?
I am looking at turning my Features into proper modules. There is nothing fancy to them other than a content type, a couple of textfields attached and a view. It looks like the features module pretty ...
0
votes
2answers
501 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
...
0
votes
0answers
20 views
Features not reverting field instances, only field bases
I'm having issues with the latest version of Features. I'm trying to revert a content type but it's not reverting the field instances.
The Content type is created and I can see the field tables in ...
-1
votes
0answers
17 views
Updating the settings installed via Features Modules [closed]
I have met with the Features module lately and trying to figure out the things. I checked the documentation but did not find what I looked for.
I have a basic feature module which only includes Roles ...
0
votes
0answers
3 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 ...
0
votes
1answer
393 views
An AJAX HTTP error occurred. HTTP Result Code: 403 Debugging information follows. Path: /system/ajax StatusText: Forbidden ResponseText:
I have received this error twice, first during panels everywhere, and now again working with Features module. It is produced When you create new feature:
Structure > Features >
and click on 'Edit ...
2
votes
1answer
20 views
What advantages does using features to manage deploying changes
What advantages does using features to manage deploying changes (versus keeping code updated and data fresh)?
The Features way (near as I can discern):
Features takes configuration (which is ...
0
votes
1answer
36 views
export search_api settings with features
I used features to export search_api settings and in the feature_module.features.inc file was code that started like below:
I am trying to do the same thing again and I can't find the option to ...
6
votes
3answers
1k views
Unable to delete feature content type after uninstalling feature
Issue
Uninstalling a feature which creates a content type hides the "Delete" link on the admin/structure/types.
Issue on Drupal.org
0
votes
1answer
323 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 ...
1
vote
1answer
218 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, ...
0
votes
1answer
16 views
How to import a 'Feature'?
I have exported certain items with features module and have my *.tar file, where do I go in drupal to import this Feature in my destination site???
2
votes
2answers
366 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 ...
2
votes
2answers
43 views
Is making a feature of literally everything available actually a smart thing to do?
I love features for all the benefits they have, especially for performance.
It now seems like a logical step forward to make a feature out of everything available on the "create feature" page on a ...
0
votes
1answer
183 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
36 views
Features_extra: after enabling fe_block, no Machine Name field appears on block edit form
I installed and enabled fe_block 6.x-1.x-dev, but when I reload one of my blocks' edit form, no machine name field appears. I tried clearing the cache; no dice.
What's missing? Thanks.
2
votes
1answer
30 views
forcefully / manually remove content type
Is it possible to manually remove a content type?
I've packaged it in a feature and now the content type is no longer needed; it's been deprecated. I'm unable to delete the content type after ...
1
vote
0answers
42 views
Features : export content types with FieldCollection
When I try to export my content type using Features, it works. But when I import it on another Drupal installation, I've got an exception :
Exception : Invalid field name given: **my_field** is not ...
0
votes
1answer
17 views
Extract module setting with features [duplicate]
Is there a possibility to extract a module's saved setting with features? Is there another possibility to achieve that?
2
votes
1answer
20 views
Is there a variable that keeps track of which pages are enabled or disabled in Page Manager?
I'm using the Features module and I'm tired of manually enabling/disabling pages (user_edit, user_view, etc.) Is there a variable that I can add to Strongarm to control this in code?
0
votes
2answers
30 views
How to deploy a site with open source?
I created a Drupal 7 site on my localhost. I installed some modules, created some content types and fields, changed some preferences, etc. and also entered some real test data. (I want this data to be ...
0
votes
0answers
26 views
the feature is in rebuilding state and does not make changes to the site
I have created two vocabularies on my local and export it through features via fe_taxonomy module.
But on the live site when I click the feature to view it, its in rebuilding state with the ...
8
votes
4answers
2k views
Why would some features still show Overridden after a revert all --force?
Why would some features still show as "Overridden" even after running a full features revert with the force switch? Below are the commands I am running, for the sake of clarity.
drush fr-all --force ...
4
votes
5answers
878 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 ...
0
votes
0answers
11 views
Is there a way that let the og feature only display own group?
I am facing a little issue with og features.
I have two different OG groups. First is Bar group, the second is Music team group. And under Bar group, i create a two og features just like bar news and ...
2
votes
1answer
32 views
What does the menu_masks variable do?
When I was building a feature (as in Features), I noticed the menu_masks variable. I have read menu_get_ancestors() and _menu_router_save() but I still don't understand what it does.
On a more ...
1
vote
1answer
58 views
Feature stuck on Overridden - “Overrides” column empty, “Default” not
I have a feature which is constantly stuck at overriden, no matter how times I try to revert or re-create it. I have gone through the standard checklist, including uninstalling and reinstalling, and ...
1
vote
1answer
22 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 ...
3
votes
1answer
59 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 ...
0
votes
1answer
29 views
Issue with the features Module
I am experiencing an error when creating some nodes of a particular content type on my site: It triggers a 500 error when users try to save the node. When I look into the log error this is the message ...
5
votes
1answer
96 views
Do features uninstall variables when a module is uninstalled?
I have created a module using The Features module. The module exports some variables using the Strongarm module.
If a person installs the module and then uninstalls it, will those variables be ...
2
votes
2answers
748 views
Delete a feature but keep the content created by it
Is it possible to keep the data created by a feature after deleting feature itself?
I created a migration feature that is really just a one off; I would want to delete it without losing the nodes ...
8
votes
3answers
2k views
How do I resolve this conflict between two Feature modules?
I have two content types with various menus, views, menus, etc. which I have packaged as two Feature custom modules. The two content types both use a taxonomy and use several of the same fields in ...
0
votes
1answer
10 views
Why doesn't the “auto-create feature” in the Ftools module work on Features 2.x?
I've been using the Ftools module for a long time to create features more easily; this module provides a "auto-create feature" link on the features configuration page.
However, when I upgraded from ...
2
votes
1answer
45 views
How to theming and deploy custom blocks which created in admin UI?
I've created some custom blocks in my development environment and export them with Features + FE Block with given machine names. And then deploy and enable them in my staging environment.
Just like ...
0
votes
2answers
32 views
How to update a feature
I have a feature which contains fields for the user profile page. This is currently working in PROD.
In the dev site, I've updated the feature to include a new field, updated the version, and ...
10
votes
3answers
2k views
Adding components to a feature via Drush
I understand using 'drush fu' to look for changes to any components of an existing feature, but is there a way to add a component to an existing feature using drush? Right now I have to use the /admin ...
5
votes
2answers
1k views
Exporting block settings in a Feature (Drupal 7)
I am trying to learn about creating a reasonable workflow between a development site and a production site and I have decided to use the Features module to help accomplish this task.
On my front page ...
1
vote
2answers
49 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 ...
1
vote
1answer
34 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 ...
0
votes
2answers
51 views
Features to import content type in D7 from D6
Features seem to be the right way to import custom centent type in a fresh D7 install from a D6.
But when i create my feature on the D6 one, it add dependencies like modules,and once i import the ...
1
vote
1answer
54 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 ...
0
votes
1answer
48 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 ...
1
vote
1answer
59 views
Exporting settings in a code with Features / Strongarm - how to detect right variables - config ones
Many modules does not support Features, so I need Strongarm module to export config in the code. But in situation where i have many contrib modules, it seems tedious work. not all variables are named ...
1
vote
0answers
13 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 ...
0
votes
3answers
589 views
Export blocks with features extra
I installed the Features extra module to export custom made blocks in my Drupal 7 environment. But for some reason, it doesn't work...
What I do is the following:
I create a custom block
I give ...
4
votes
2answers
1k views
Export menu as feature?
How can I export a menu as a feature? I found the menu import module, but it does not work with this feature.
1
vote
1answer
73 views
Use uuid on references
Is there any way to make a reference to a 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 refereces ...



