By hemant_gautam on
Hi,
I have created vocabulary and its terms. I want to export it using features modules. I am able to export only vocabulary name. but its terms are not coming in exported files using features. And there no such modules I found to export taxonomy in Drupal 7.
Same thing I have to fo it with menu and its links. I am able to export only menu name. but its links are not coming in exported files using features.
One more query--
I have created one role called editor and assigned some permission to that role. I am able to export roles properly but permission are not assigning to that particular role even permission names are coming in exported files using features.
Please help me.
Comments
Try Features Extra module
http://drupal.org/project/features_extra
Dude, I have tried with this
Dude, I have tried with this features_extra module.
I have sorted out all the issues except vocabulary. I am able to export vocabulary name only but not its terms.
Provide your suggestion.
I'm running into the same
I'm running into the same problem. I've seen some things pointing back to uuid_features; however, installing uuid_features throws an error on Drupal 7.19.
I had a similar issue with
I had a similar issue with taxonomy terms. My understanding is that Taxonomy terms are entities, not configuration, and therefore outside the scope of Features. (Although yeah, they're just taxonomy terms and it feels like they should export. But I guess from that perspective it makes sense why they currently don't.)
I looked into the suggested modules, but ended up writing an update function to insert my taxonomy terms via Drupal API calls:
I don't propose this as an ideal "fits everyone's needs" solution. But it worked for my situation, so I thought I'd pass it along in case it helped anyone else.
You can use
https://www.drupal.org/project/uuid_features module to export terms, nodes and users
Source:
http://drupal.stackexchange.com/questions/24882/how-do-i-add-taxonomy-terms-and-vocabularies-to-an-exportable-deployment-plan
Hey,
This has been up a few years, still relevant in 2016. Very cool way to add terms, thanks for the addition to my 400+ webdev snippets of all sorts, and the solution to a painful content creation problem I had very short time-frame to solve.
Whoever wrote this above, thanks for the cue.
Firstly you’ll need to
Firstly you’ll need to install the UUID Features (https://drupal.org/project/uuid_features) , Features (https://drupal.org/project/features) and UUID (https://drupal.org/project/uuid) modules.
Once all those modules are enabled, go to example.com/admin/config/content/uuid_features (or on your administration menu go to Administration –> Content Authoring –> UUID Features Integration, and under “Exportable Taxonomy term bundles” check the boxes for the relevant taxonomy terms.
Go to your features export page at example.com/admin/structure/features/ (or on your administration menu go to Administration –> Structure –> Features), create/recreate the feature and you’ll see “Taxonomy Terms” listed.
Thank You,
Shashwat Purav
thanks.. it worked :)
thanks.. it worked :)
- GJ
Exported taxonomy term not recognized
Hi
I followed your suggestion above to export a taxonomy term and a view in a feature.
When I installed and activated the created feature on another site afterwards, the taxonomy term was created and so was the view, but the view did not recognize the term. If I edit the view and choose the term, everything works fine.
Any ideas as to why this happens?
I'm 99% sure its because the
I'm 99% sure its because the term on your origin site does not have the same term ID (tid) as on the later site. The term name was likely carried over, but it is almost guaranteed to have a different tid since those are sequential, rather than specified like machine names. The view config UI pulls in the term name, but it really saves the tid value into its config.
If you use vs. 7.x-1.0-rc1
If you use vs. 7.x-1.0-rc1 and possibly later path updated to /admin/structure/features/uuid_features