Is there any way to show a message when the cck content field is blocked?

For now, the field content is not shown when viewed by a "no friend" member. Is there any way to show a message like "You must be my friend to view my "content type". Send me a friend request now!??

Is it possible to replace the content area by a message or an image with a button for asing for a friendship?

thank you.

Comments

okday’s picture

This module must show a placeholder text when hiding the field content.

markus_petrux’s picture

Status: Active » Fixed

This feature is not supported by this module. You need to add custom code to tell the node rendering layer to display this information based on user relationships.

Status: Fixed » Closed (fixed)

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

mas0h’s picture

Category: support » feature
Status: Closed (fixed) » Active

I use CCK Private fields to make some CCK fields hidden from anonymous users for only some articles or contents.

That feature is just what I want, I want Anonymous users to know that they are missing some part of the article and they could register to view the complete article.
Could you please point me to the right direction regarding the custom code if you are not planning to integrate that feature to your awesome module!

Thanks,