Jump to:
| Project: | Chaos tool suite (ctools) |
| Version: | 7.x-1.0-rc2 |
| Component: | Views Content |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Chaos tools 7.x-1.0-rc2
Views 7.x-3.3
Organic groups 7.x-1.3
--I set-up Organic Groups and created a new group and a new content type of OG type content.
--I created several nodes using this content type and also associated the content to a group that I created.
--I set up a node template variant that uses a specific layout for OG content.
--When I go to the node of the group, I can see some of the content from the variant layout like the OG membership content (subscribe link).
--However, I cannot see my OG nodes (I am reference a default OG views pane here to display the OG nodes) for the OG content type I created.
--So seems like part of the node template variant is working but not all of it.
--I re-verified permissions and any other settings I could think of.
--I also receive this error message on the OG group page which is attempting to display the content nodes...
Error:
Warning: Illegal offset type in isset or empty in ctools_context_required->select() (line 179 of /home/content/97/6933697/html/bam/sites/all/modules/ctools/includes/context.inc).
Any help is appreciated!
Comments
#1
Sorry may not be a bug. Issue may be with default OG content views pane set-up or if default is supposed to work then there may be issue with either view or panel in passing data through. Not sure.
In order to resolve this, I needed to edit the default argument in the OG content views pane to either:
a)
source the 'OG membership: Group gid source' from 'panel argument' instead of 'From context'.
or
b) update default argument input to: Node Content ID from context.
This post also helped me...
http://drupal.org/node/1170286
#2
djween, its not entirly clear for me what you mean. Do I need to edit Views or Panel?
#3
Zarevac, Koka, and others who contacted me regarding this:
Glad to help...
As per my above comment, I think there are several ways to resolve this.
The easiest I think and what I did for both the OG content view and OG members view is the following:
-- go in to the OG view.
--go to the display: content pane
--in Pane Settings > Argument input: > click edit
--update "OG membership: Group gid source" from "From context" to "From panel argument"
--save
Thanks and hope this helps!
#4
Just a follow-up to #3. The above #3 assumes you are using the OG default views (at least maintaining the default argument there) and have your variant/panel set-up as described in: http://modulesunraveled.com/organic-groups/part-3-organic-groups-layout
#5
Thnx!
#6
Glad I am not the only one having this problem....
thanks djween i did as you said in #3 and it works great on group #1
BUT
if i create a group #2 and add an article to it i get the message "There is no content in this group." with no display of the article and no list of members :(
#7
rolling back to ctools-7.x-1.0-rc1 make it all work as in the tutorial @
http://modulesunraveled.com/organic-groups/part-3-organic-groups-layout
getting it all working with ctools-7.x-1.0-rc2 would be nice though
#8
The bug causing this in -rc2 shoudl be fixed in -dev. Can you update to latest -dev and try for me?
#9
Looks like the update solves the issue. Thank you Merlin.
#10
#11
I am experiencing the same problem, and have tried both the "dev" version of CTools, and edited the settings as in #1 & #3 above. Updating the "default argument input to: Node Content ID from context" had no effect. Updating "OG membership: Group gid source" from "From context" to "From panel argument" did make the side panel appear, but it only contains "Group: you are the group manager." The OG Create Content links are missing, as is OG members information. Also, the center section has no content even though I've created some.
Any ideas? This is the last step in a big project that I'm eager to send to the boss for approval. Thanks!
Same day, 2:50 pm MDT:
I created a clean install of D7, and added only the required modules for setting up an organic groups layout (Modules unraveled: http://modulesunraveled.com/organic-groups/part-3-organic-groups-layout ). I changed the settings as noted above, and even used the "dev" version of CTools, but the nodes will not pull in the content correctly.
#12
I ended up restoring my site from a pre-OG backup, and carefully added-back the module, whereupon it worked fine. (Weird.) Thanks for being out there!
#13
My OG panel was working, now it's not. I'm having trouble tracking down exactly when it stopped because I'm in development right now and have only a couple of users helping me beta test. I also used the modulesunraveled method and am using the default OG content view. Tried with Chaos Tools 1.0 and newest dev version. Using OG 1.3.
#14
I think I have solved my specific issue. I changed the contextual filter on the default OG content view to Provide default value --> Current OG group from context and it now works fine in the panel and outside of it.
#15
My original suggestion in #1for the fix works for the first few groups I created but then not for subsequent groups (same issue as #6), even though my groups and content have the same settings. REALLY WEIRD. I tried fix as per #14 and that works for me now. However, I believe this takes the control from specifying argument inputs via the panel variant and puts the control in the view. While OK, as in it works, seems like it almost defeats purpose of using the panels because we lose some dynamic template rendering possibilities when doing it this way.
#16
Rc2 seems to fix the problem for me thx