2

I created flag for nodes and trying to show a login or register link to anonymous users instead of the flag button on a node page (panels). A redirect to the signup form would be ok as well. I tried the Flag anonymous module but it doesn't work for some reasons.

Are there any other ways to realize this functionality?

1 Answer 1

0

If I understand the question correctly:

  • You should be able, through permissions, to restrict access to the Flags, so that anonymous users don't see it

  • you could use the default user login block, or create a custom one that redirects users, and place that block in the same position as the Flags, with a message like "To Flag objects, you must first login" and then restrict that block to show only to anonymous users

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.