Download & Extend

Field for (any) entity type support

Project:Features
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:drupal7, features, hosting

Issue Summary

We are trying to build drupal hosting, using Aegir. It's easier for users to use features UI rather than admin/build/modules page. We decided to choose drupal 7 as a default platform, and that's a problem this module doesn't support it.

What about the current status of this module for drupal 7? Any suggestion? :)

Thanks,
noomz

Comments

#1

Title:What about porting this module to Drupal 7?» Port features.module to Drupal 7

#2

@noomz It is safe to say that a port of features has not started. I'll let a maintainer of the module post more information on when a port would start and any further details.

#3

Actually it's safe to say it has started :)

Adrian just started working on it http://github.com/Vertice/features

#4

@kyle_mathews Thanks for the update! I like this commit message from a few days ago:

"This is the first somewhat d7 capable version of the features module. It runs, but doesn't work."

#5

subscribe

#6

subscribing

#7

thanks, subscribe

#8

subscribe - I hope to be able to have some time to help out with this soon

#9

subscribe

#10

What's the best way to help here? Just clone the github repo & get busy? Is there a task list anywhere?

#11

subscribe

#12

subscribe.
I'd love to see this along with Context available (even if highly developmental) for D7 soon. I'm starting my theme work, and starting to build sites out with D7, and it's looking great... all I'm "really" missing is Features/Context

#13

Subscribing.

#14

Subscribing

#15

has_body and body_label are no longer present in results from node_get_types()

AttachmentSize
736886-has_body.patch 1.59 KB

#16

Note (re #3 above), the Git repo is now gone (sobs) and work is progressing (applause) in CVS (groans, fade to Benny Hill music) for 7.x.

Also, in node_features_export_render() there is this code -

<?php
   
// Force module name to be 'features' if set to 'node. If we leave as
    // 'node' the content type will be assumed to be database-stored by
    // the node module.
    //
   
$info->base = ($info->base === 'node') ? 'features' : $info->base;

?>

I suspect this should actually be looking for 'node_content' not 'node'? That's what I see exporting CCK types.

#17

Suscribing

#18

Version:6.x-1.0-beta6» 7.x-1.x-dev

Changing versions.

#19

subscribing, sorry for the noise

#20

subscribing

#21

Subscribe

#22

Subscribe

#23

This patch adds the ability to use the field export (features.field.inc) for entity types other than nodes. We use it to export commerce product types. I'll post the export implementation which adds the commerce product to the dropdown for exportable features as soon as the required patches are in the commerce HEAD for those interested in.

Note that this patch contains all fixes/patches of the following issues:
http://drupal.org/node/898686
http://drupal.org/node/848736
http://drupal.org/node/898406
http://drupal.org/node/899384

AttachmentSize
7.x-1.x-dev_fields_for_entities.diff 10.52 KB

#24

Status:active» needs review

#25

The patch no longer applies cleanly. It would be great if you could update it using the DRUPAL-7--1 branch of CVS rather than the dev package.

I'll attempt to apply portions of it by hand and review it in the meantime.

#26

Title:Port features.module to Drupal 7» Field for (any) entity type support
Status:needs review» fixed

Committed with some refactoring. Thanks!

http://drupal.org/cvs?commit=419258

#27

Thanks for committing! One question concerning hook_hook_info(): without this implementation features-api implementations of other modules seem not being recognized. features_include() kind of don't include them. Any idea what could be the solution apart from implementing hook_hook_info(), which is not a too bad idea either, is it?

#28

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here