By uw07 on
Could someone please help me in writing a PHP snippet that will determine whether a piece of content exists in a group? Not in a specific group, just a group in general.
For example, if page X is part of a group display this link, but if page X is not in a group do not display the link.
Thank you!!
Comments
.~.
By saying --
do you mean -- " how to dispaly a link if the page is of a particular content-type ? "
Not of a particular content
Not of a particular content type, but whether or not that node belongs to an Organic Group.
Does anyone have a PHP
Does anyone have a PHP snippet that could help with this? I only need to return TRUE whether a node is posted into an Organic Group or FALSE if it is not.
I'm bumping this because I
I'm bumping this because I still need help. Does anyone have a PHP snippet that will come back with a Yes/No whether a node is posted into an Organic Group.
thanks