Closed (fixed)
Project:
Hierarchical Select
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
26 Dec 2010 at 13:04 UTC
Updated:
17 Oct 2011 at 21:05 UTC
Hi,
I've created a patch that integrates Hierarchical Select with Features.
The patch uses the export/import Hierarchical Select configurations management and doesn't modify the behavior of the code.
Features allows you to export your module definitions to code, so that they can be imported in other drupal installations, compared, synchronized or updated.
| Comment | File | Size | Author |
|---|---|---|---|
| hierarchical_select-features-integration.patch | 4.45 KB | smartinm |
Comments
Comment #1
nedjoDid you consider instead using the Ctools export and export_ui functionality for this?
Comment #2
wim leers@nedjo: is that the best practice approach to implementing Features support?
Comment #3
wim leersDue to lack of response, and better some Features integration than none at all, I decided to commit this patch. Thanks, smartinm! :) (I only fixed some Drupal coding style issues.)
http://drupal.org/cvs?commit=495508
Comment #5
shiraz dindarhi guys,
this patch featurizes hierachical selects but uses their IDs which are not unique across sites. by not using UUIDs for hs's, this code does not work for example, if you have a site that has a couple HS's already, and you try deploying the feature with HS's in them. correct me if i'm wrong. proper featurizing would normally require the use of machine_names instead of a site-specific ID. this is what Nedjo is getting at.
just a heads up... i would think this is better removed from the dev line for this reason.
shiraz