I've tried making the to-do content type a group content node but no matter what group I assign the to-do to, it always reverts back to 'public'. What would need to be changed so that I could create separate to-do items for different groups

I'm using Orgainic Groups 6.x-2.0 and To do list 6.1.1rc4

Comments

jaypan’s picture

I may have fixed this in the newest version of the module. When I made this module, I didn't use the Drupal grants system properly, and worked around it. OG however is all based on grants, so it may have been my bypassing of the system that caused this problem. I have integrated the module with the grants system in the newest release, which may possibly solve your problem. Let me know if it doesn't, and I will look into it more specifically.

jaypan’s picture

Status: Active » Postponed (maintainer needs more info)
b0b’s picture

This does work with Organic Groups but still has a big issue. When you create the To Do it will behave like a group post, but if you edit the post it switches the "Public" checkbox to on, making it a public post also.

jaypan’s picture

I've rarely used OG groups before, only just to see what it is. Is the 'public' checkbox part of the OG module? Or is it part of this module?

b0b’s picture

The Public checkbox is part of the OG module, you can select it if you want a post to be viewed by users outside of the group.

Groups can be about getting stuff done and To Do Lists would be a great tool to work with it IMO.

jaypan’s picture

I'll see if I can do something about this next time I do some work on the module in a couple of weeks, but I suspect it's an issue with OG, not with my module. The reason I suspect this is that to set a checkbox to be checked, you have to explicitly set a value to do so. If it were the other way around, the absence of a value would mean that a box that should be checked isn't, but I can't see that I would set anything that would check a box it shouldn't.

BUT, it's possible I have something in there named 'public'. I'll have to dig through the code and see what I find.

khad’s picture

I cannot subscribe to #3. Editing a to_do list that is tagged as a group post doesn't trigger the public checkbox in my case (6.16/og 2.1/rc12).
However, for true OG-compatibility there is IMHO another thing missing:
It should be possible to display a view of all ToDos associated with a group on the group node, so that users that have the 'view all to do listings'-permissions inside that group can get an overview of the state of things. Although putting a view of the respective nodes on a tab on the group page works, this falls short of what is needed, since the properties of the nodes are not exposed as fields, so that only a node display without proper sorting or filtering can be achieved.
One possible solution would be to display the ToDo-list not only on the user, but also on group nodes (filtered to group posts, and preferably optional) - another solution would be to expose the properties to views, so everybody can build their own tabs/ blocks.
(sorry if this should be nonsensical, I still don't fully dig drupal...)

AlexisWilke’s picture

Title: Og Compatibility » Og Compatibility--need Views support
Version: 6.x-1.1-rc4 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Yes. Support for views would be the best thing to have. That way you could create all sorts of lists like the existing block but tailored to your specific needs.

If that is enough to solve your still existing problem, then it will come in time.

Thank you.
Alexis Wilke

P.S. In regard to potential clashes, I will also be updating the forms so they use better naming conventions. Many use things like "users" or "start_date" instead of names that start with "to_do_...".

AlexisWilke’s picture

Title: Og Compatibility--need Views support » Og Compatibility--needs Views support
Assigned: Unassigned » AlexisWilke
Status: Active » Fixed

Alright, I added Views support so you should be all good now. I will close this issue until someone notices a problem with Og... or just create a new issue if you want.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

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