All my posts have a "group content visibility" field. So, when the content is private, if the user is not member of the group, the post will not be accessible.
In addition, if there is a link to this post, it will not be displayed in the menu for example. However, what I want is to keep this link even if the post is private. So, when the user clicks on the link, he will get a message like "you need to subscribe to the group to get access to that content".
For example, the website drupalize.me is exactly doing that. If you click on non-free links, then you get a message to subsribe.
Any help will be greatly appreciated ?