Hello,
I just deployed Spaces (incl spaces_og), Context & Feature + OG on a D6 fresh install.
I was able to create a context and export & enable a feature that is supposed to display og_ghp_ron view + related blocks.
Blocks are indeed displayed in the right context.
After creating a group, I'm redirected to the feature section, which seems normal.
There I'm asked to choose an homepage for my group.
Unfortunatelly, the settings section doesn't not offer me that option. Only Logo & Color settings are proposed
(see attached screen shot)
Note as well that I have the following warning message:
warning: First parameter must either be an object or the name of an existing class in /usr/websites/agsos.fr/trunk/drupal-6.13/sites/all/modules/spaces/spaces_og/spaces_og.module on line 1069.
($object seems not to be passed to function spaces_og_token_values() )
I'm I missing something in Spaces setup?
Br, Erwan
| Comment | File | Size | Author |
|---|---|---|---|
| 2009-07-29_115703.jpg | 103.97 KB | Erco |
Comments
Comment #1
Erco commentedComment #2
Erco commented'Homepage' is not displayed due to the fact that features_menu_links() does not return something.
Now invastigating in that area.
Any help will be appreciated
Comment #3
yhahn commentedHi Erwan,
You should try enabling at least one Feature for spaces -- the sample features `spaces_blog` is a good example you can start with for any other features you may want to build. Each feature can define multiple menu items in the features menu and those are what are offered as options for the space's homepage.
Let me know if you have any other trouble.
Comment #4
Dokuro commented@yhahn,
Just want to say first off, thanks, this is really great what you have going here.
I found this video http://vimeo.com/4902153
Along with some others. Thing is, they seem to be a bit out of date.
The problem I have is. I have a feature made, but I can't for the life of me get that feature to be available to the Group space for OG.
Can you list the key points for it to become visible to the presets for spaces for Organic Groups? I am sure I am missing something really small.
Thanks for your time.
PS. Is there a built in way to discard the behavior for PURL (persistan URL) for the site logo url, which is using $front_page to print out the url to the front page?
Comment #5
reaneyk commentedI have the same issue with a fresh install. The spaces_blog feature does not show up as an option for the home page, only the one that I created is available on the OG space created. If I try to select a homepage default from the spaces presets for groups I don't have any options available.
I found in order to have a homepage option available with spaces_og, you must have the following:
in your .info file:
in your .features.inc file:
in your.defaults.inc
My issue is not being able to get the homepage selection to be available to a space preset for a group.
Comment #6
Dokuro commented@reaneyk
Hey thanks a ton for the point in the right place. I am sure I'm just missing a setting when I setup the feature. To add to your code above.
MODULENAME.info
needs :
That will make it able to use with all of the types, so you can just change "all" to what you need if you don't want all, or if you want more than one, then make two lines.
Then you forgot function here
Should be
Still getting some issues, but I will play around with it more now. The feature now shows up, but I get an error when I select it.
user warning: Unknown column 'is_public' in 'field list' query...
But its coming a long.
If anyone has a better walk through to get all the settings working in the admin. please post them. If not, I will do it as soon as I can work it out.
Regards
Comment #7
sirkitree commentedI would say that be default the views that are og_related should be listed here as well. If you only have one feature for a group (say image gallery) then that is your only option and you have no default way of doing anything, whereas if the default view that is listed with the group settings (/admin/og/og > Group details) should be listed or used, no?
I'm also getting the user warning error mentioned in #6
Comment #8
lucidus_neil commentedNot sure if anyone else resolved this for you but I had the exact same problem and worked through it. My problem was that I had not assigned an "Active Menu" to any of the contexts of any of my features. (In my case it was just one context in one feature). Since there were no Active Menu items identified, there was nothing to populate the Homepage box with.
The way to resolve this is to set "Active Menu" within the context definition page of one (or more) of your contexts. If one is assigned, then a list box will show up on the "Features" tab page of your organic group that has the potential default pages. Hope that helps.
Comment #9
lucidus_neil commentedSo this worked great to make the default page show up but it does not work to conditionally show the menu items - they ALWAYS display no matter whether the feature is turned on for that space or not. Not good. I believe this problem may be related to the Features Space menu pick not showing on the context definition screen any more.
Comment #10
rtackett commentedI was able to get the homepage menu to display by creating a menu item with a view's page display and then selecting the menu as the active menu in context.
Comment #11
brad.bulger commentedI've tried setting the active menu for the context and it still makes no difference. Always just get "Please setup your group by choosing a homepage setting." with no indication as to how I would do such a thing.
Comment #12
marcushenningsen commentedthanks lucidus_neil, your post helped me along
Marcus
Comment #13
marcushenningsen commentedOne small setting that made it work for me:
Don't include more than one context per feature. I initially had two contexts added to my 'event' feature, and I wasn't allowed to select 'event' as the group homepage. I then removed the less important of the two contexts in my feature, updated the feature, and then I suddenly was allowed to set 'event' as my group homepage.
Marcus
Comment #14
socialnicheguru commentedi want to use panels to override node/nid and set that as the homepage. how do I do that?
I thought about overriding node/nid in panels.
that is fine
but how do I get a particular node type to show up in the content section of my context?
I thought about using mini-panels.
But how do I ensure that mini-panels get the group context?
Thanks
Comment #15
jmiccolis commentedSetting this to closed. It's been set to "postponed (maintainer needs more info)" for quite a while, and we are no longer maintaining the 2.x branch.