How To Disable Drupal Create New Account Link or Tab If Using Profile2 Registration Path

Candidates can on the other hand enroll account themselves from "candidate/enroll" direction:

This will disable the "Create new account" hyperlink and solely directors can create new dollars owed if required.

Sponsored Links

If we aren't utilizing Profile2 module to create separate profiles, and if we do no longer desire clients to be creating dollars owed themselves at the web content then the "Create new account" tab or hyperlink have to be would becould very nicely be disabled quickly from the following step:
Configuration > Account Settings > Registration and cancellation
Under "Who can enroll dollars owed?", become aware about "Administrators Only"

Tab Tamer is an administration tool that adds readily on hand re-ordering, hiding, and deactivation of tabs and subtabs. You can also rename tab labels.

Tab Tamer Configuration Page

After disabling the "person/enroll" direction from "Tab Tamer" configuration page, the "Create new Account" tab is disabled and entry to the direction "person/enroll" also is blocked.

I serve as is to let the candidates enroll by means of "/candidate/enroll" direction solely. I am no longer waiting for clients to take advantage of the "person/enroll" hyperlink, so that you simply is highly a normal Drupal account and no longer a "Candidate Account". So, the deserve to disable the "Create New Account" hyperlink or tab from the "person/login" page arises. The default login and request new password hyperlinks might reside as that does no longer have an result on candidate login or password request.

How to disable the "Create new account" if utilizing Profile2 and Profile2 Registration Path?

How to disable the "Create new account" hyperlink or tab if no longer utilizing Profile2?

Save
Flush Cache
Test

Disabling the "Create new account" tab utilizing Tab Tamer:
There are place of business work on Drupal.org to disable the "Create new account" utilizing custom module. But do you've to do no longer want to write down custom modules for this aim, we'll use the "Tab Tamer" module to disable or hide selected tabs.

The default Drupal login page at /person/login indicates 3 tabs - Login, Create New Account and Request Password. Using the tabs, a traveller can either login, create a new account or request password. If visitors cannot create dollars owed at the Drupal web content themselves, then the "Create new account" hyperlink or tab have to be would becould very nicely be disabled quickly from Drupal administration. But when utilizing Profile2 and Profile2 Registration direction, the Drupal default "person/enroll" direction lies redundant. In this post, we shall see gentle programs to disable the "Create new account" tab from the default person login page.



Download Tab Tamer module from Drupal.org
Install the Tab Tamer module equivalent to you'll arrange the several module at sites\all\modules"
Enable the module
Go to "/admin/config/components/tabtamer" and setup Tab Tamer to cover or disable tabs or hyperlink that are not required to be displayed
Tab Tamer exhibits optimum of the tabs you'd see in Drupal and equally of them have to be would becould very nicely be individually enabled, disabled or hidden.
To disable the "Create new account" tab, scroll the whole way down to till you see "User". Expand the products, and for the direction "person/enroll", that you simply could set it to:
hidden: "Create new account" tab is hidden even so the direction "person/enroll" retains to be energetic. So if person enters the direction "person/enroll" manually, the create new account page will on the other hand monitor up.
disable: the "Create new account" tab is hidden besides basically because the direction "person/enroll" disabled.

On one certain web page, I have setup a separate profile at times recognised as "Candidate" utilizing Profile2 module and likewise setup separate registration direction for the "Candidate" profile utilizing "Profile2 Registration direction" this can be "/candidate/enroll".
I desire visitors to create account themselves by means of "candidate/enroll" direction
Using Profile2 Registration direction module, candidates are assigned "candidate role"
I do no longer desire traveller having access to the default "person/enroll" direction
How To Disable Drupal Create New Account Link or Tab If Using Profile2 Registration Path

Image source: https://farm8.staticflickr.com/7496/15201865703_e622c48310_z.jpg

Labels: Blogging Tips

Thanks for reading How To Disable Drupal Create New Account Link or Tab If Using Profile2 Registration Path . Please share...!

0 Comment for "How To Disable Drupal Create New Account Link or Tab If Using Profile2 Registration Path "

Back To Top