Why when making a view for a group or type of group are the edit / delete or view links not available as fields for Groups?
I have gone over and over this and can't find it. Do I need to implement this manually through the views API?
Why when making a view for a group or type of group are the edit / delete or view links not available as fields for Groups?
I have gone over and over this and can't find it. Do I need to implement this manually through the views API?
Comments
Comment #1
mxh commentedYes, this needs to be (re-)written extra for group entities. Basically you can copy&paste all the stuff regarding the node edit link field plugin, which you may find inside the views module files and adapt it properly for group entities.
Comment #2
kristiaanvandeneyndeIf you're not too comfortable with writing plugins -although I do encourage patches- you can fix it through Views UI:
I may add edit / delete links in the future, but given the easy way of doing it via Views UI, it's not high on my priority list.
Comment #3
lionslair commentedThat is what I have done. It just is not elegant.
What file is the code for comment one in. I don't mind taking a look at this and submitting a patch back. I did spend some time trying that approach before but not familure with views enough to have got it right.