D
D
Dima4jin2014-11-11 14:52:36
Drupal
Dima4jin, 2014-11-11 14:52:36

How to make a block dependent on a node in drupal 7?

Displayed a registration block on the page for adding a node (for anonymous users).
But an anonymous person can add a node without registration.
how to make registration mandatory?
inline_registration do not offer ....

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
UksusoFF, 2014-11-11
@Dima4jin

I did about the same as mr_ko
said + another option Andrey Maleev in the form of a module is: https://www.drupal.org/project/r4032login

A
Alex, 2014-11-11
@mr_ko

To do this, you need to prohibit the anonymous user from adding a node with rights. Then he really will not be able to get to the add page.
You can make an intermediate page. Something like: To add a node you must register and a registration form.

A
Andrey Maleev, 2014-11-11
@slivorezka

In addition to the mr_ko option , you can simply redirect anonymous users from the node creation form to the registration page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question