[SOLVED][Drupal Colorbox] Colorbox does not open the login link in a Menu

August 27, 2013 - 19:36

A few Drupal users have found out that Colorbox does not open the login link in a Menu when it was expected to do so. If you are looking a solution for this scenario with Colorbox in your Drupal site then read on to find out more.

Here is the solution

  • First you have to check "Enable for login links" in the Colorbox configuration page.
  • This will add a Javascript that automatically rewrites all user/login links so they open in a Colorbox.
  • Check if the url to the link is /user
  • Change it to */user/login. The script checks only for user/login.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.

Reference: http://drupal.org/node/1099078

Get Drupal updates straight to your inbox

To prevent automated spam submissions leave this field empty.

Post your comments / questions