Closed (fixed)
Project:
Features
Version:
6.x-1.0-alpha5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2009 at 15:29 UTC
Updated:
20 Oct 2009 at 19:30 UTC
Not sure exactly if this is a features issue, or a spaces issue... That being said, here is the issue i'm having.
I am trying to add features to spaces presets, but there are never available when i attempt to create a preset or edit an existing one. The spaces blog example feature is available in my presets, but the new one i created is not available.
I'm new to features, and realize it's still under development. I've attached the sample feature i created for review. I'm sure I'm just missing something when i exported the feature and that is the reason why it's not available in the presets.
The feature itself is pretty basic. just contains a context, custom content type and a view.
| Comment | File | Size | Author |
|---|---|---|---|
| hockey.tar_.gz | 1.15 KB | rockitdev |
Comments
Comment #1
tauno commentedTry editing the hockey.info file in your feature export and add this:
spaces[types] = "all"
That should make the feature available for all spaces types. The project page for spaces makes it sound like this is no longer necessary, but it seemed to still be required on some features I built recently.
Comment #2
rockitdev commentedThis works now for me. I have updated my modules, and tried some other features exports but the spaces[types] parameters never seem to get exported when i create features.
So, i'm wondering if i may be missing a step when i create my features?
Comment #4
atelier commentedI had this same problem, which I was able to resolve with the suggestion in #1. My features do not include a spaces[types] directive either even though I selected "Groups space" when setting the context.
Comment #5
atelier commentedComment #6
q0rban commentedatelier, it sounds like #1 worked for you, so was there another reason you re-opened the issue? If so, can you clarify or open another issue if it's not related to this one?
Comment #7
atelier commentedSorry to re-open but I was curious to know if the .info file should include the "spaces[types]" directive automatically or if manual editing is always required. When I created my feature this was omitted from the file.
Comment #8
q0rban commented> I was curious to know if the .info file should include the "spaces[types]" directive automatically or if manual editing is always required.
I'm pretty sure manual editing is always required, however once you have it in your feature, future feature updates will keep it in there. Hope that helps!
:)
Comment #9
atelier commentedGreat - thanks for your help.