Is there some kind of configuration that allows to get rid of "Register" tab? I see that in "Manage Display" for content type I can set registration format to either Default, Registration Link, Registration Form or . No matter what I said "Registration" tab still shows up. I would expect that if I select "Link" or "Registration Form" selected tab should disappear, otherwise it is redundant.

Comments

dpi’s picture

Unfortunately, not at this time.

You could hook_menu_alter.

gintass’s picture

Thank you.

gintass’s picture

Status: Active » Closed (fixed)
jerdavis’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Status: Closed (fixed) » Needs work
jerdavis’s picture

For those wondering here's the code for hook_menu_alter() if you want to remove it from nodes that have registrations enabled, just put this in your custom module.

/**
 * Implementation of hook_menu_alter().
 */
function MYCUSTOMMODULE_menu_alter(&$items) {
  $items['node/%entity_object/register']['type'] = MENU_CALLBACK;
}
levelos’s picture

Status: Needs work » Fixed

"needs work" is for patches that need additional work. Hopefully this tip will help others and we can consider a setting down the road.

Status: Fixed » Closed (fixed)

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