[SOLVED][Drupal Colorbox] Contact form does not load in Colorbox

August 27, 2013 - 18:50

A few Drupal users had found out that their site Contact form does not load in Colorbox when calling it with the relative page url. If you are facing the same issue with Colorbox in your Drupal site the continue reading.

Here is the most probable solution.

  • The problem can occur due to a small error in the url such as having a preceeding slash as shown below
    <a class="colorbox-load" href="/colorbox/form/contact_site_form?width=600&height=600"> Contact </ a>
  • So just make sure that the url does not have a preceeding slash
    <a class="colorbox-load" href="colorbox/form/contact_site_form?width=600&height=600"> Contact </ a>

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/1373606

Get Drupal updates straight to your inbox

To prevent automated spam submissions leave this field empty.

Post your comments / questions