If you see the photo that i attach, i have organic group display to user profile page by default, but once i start to rearrange the field with user display from display suit, this field is gone because it isn't port over by user display, i trying to add organic group to user display not can't seem to getting it working. From the devel themer, i get the following data and hope someone can help me out.
theme called: user-profile-category.tpl.php
Array->element(Array)->groups(Array)->#value(String) and #attributes(Array)->class (String) og_groups
I have a similar problem with role expire but if i can get this right, i should be able to do the same to role expire.
| Comment | File | Size | Author |
|---|---|---|---|
| group.png | 19.91 KB | spacereactor |
Comments
Comment #1
swentel commentedNot possible either (like the role expire) - will add that this weekend.
Comment #2
swentel commentedChanging title
Comment #3
spacereactor commentedlooking forward to it and thank you for your time to look into the matter.
Comment #4
swentel commentedChanging title - we're changing our filosofy - we'll create a nd_og module and also a patch.
Also added a patch for role expire at #806494: Role expire integration with Display Suite - let's hope it gets in!
Comment #5
swentel commentedChanging title
Comment #6
swentel commentedremoving tag
Comment #7
swentel commentedComment #8
swentel commentedYou can create a field for this:
Comment #9
swentel commentedComment #10
davea commentedSorry to re-open this....
But I am unsure what path to take for Organic Groups and Display Suite. Is there going to be a nd_og ?
I understand the use of creating the fields via the UI but my preference is putting those OG fields into code. In fact, I spent a number of hours trying to do that and ran into alot of frustration getting the fields to display. I really like DS as a method of layout as it makes the templating much easier, as far as I can tell.
Here is as far as a got:
I was able to get all of them to display on the UI and some of them to display on the node page. I tried preprocess, theming, etc, without much success. I ended up unsetting $form['og_description'] and ignoring the rest. I would be happy to complete this module and any help in pointing me in the right direction is appreciated.
Thanks for a great set of modules!
Dave
Comment #11
swentel commentedOG is indeed a bit more frustrating as some values should be accessed by preprocess, as others are not. Can you give me the output of the bisite_og_fields() function because I don't know that one (or is that something very new in the latest OG version ?) Let me know which fields you want to have and I'll help along.
Comment #12
swentel commentedPostponing again.
Comment #13
davea commentedSorry for the delay. I never was notified that you had responded. I will get this for you.
(I still can't seem to find out how to get notified of my posts and the replies).
Comment #14
swentel commented@davea - you can subscribe to every individual project if you like, but you'll get notified of every issue then for this project, probabaly not something what you want. Also, user/id/track shows you the history of replies and should show you new replies on posts too.
Comment #15
rjmackay commentedsubscribing
Comment #16
donquixote commentedThis is interesting.
It would be very useful to have the view of group posts and other things available as a field in nd for group nodes.
Comment #17
lloydpearsoniv commentedsubscribing. I am definitely interested in display suite & Organic Group integration...in D7 hopefully.
Comment #18
swentel commentedClosing this for now. D7 support should be fairly ok already afaik since OG uses fields in D7. Reopen if someone wants more for D6, but only with patches!
Comment #19
donquixote commentedA lot of this can be done by turning the og-related views into "node content" views, using views_attach.module.