I create a webform and want to open the form in colorbox modal window
These are the steps i followed:
1. Download and enabled the modules.
2. Download the colorbox libraries from wget http://www.jacklmoore.com/colorbox/colorbox.zip . And extract under /sites/all/libraries.
3. Then create a node with your form fields.consider its path will be http://www.yourdomain.com/node/1
4. Again create a page like this <a class="colorbox-node" href="http://www.yourdomain.com/node/1?width=600&height=600">My Example</a>
5. It will give a link. on clicking that it will show pop up with your node contents.
After above step i click on the link am getting the below error. Please help me to create modal window for the webform.
An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: /mydomain/colorbox/?q=node/1?width=600&height=600
StatusText: Not Found
ResponseText:
404 Not Found
Not Found
The requested URL /mydomain/colorbox/ was not found on this server.
Apache/2.2.16 (Ubuntu) Server at localhost Port 80
Comments
Same problem
Trying to figure this one out myself... In my situation I've created a view and selected the "display my content with colorbox" checkbox. My error is as follows:
An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: /colorbox/?q=articles/secret-avoiding-conflict-fighting-early&width=&height=
StatusText: error
ResponseText:
404 Not Found
Not Found
The requested URL /colorbox/ was not found on this server.
Apache/2.2.3 (CentOS) Server at drupal53.test.bizxcel.com Port 80
Hi there
Use the below script to load content in colorbox.
<a class="colorbox-load" href="/node/100?width=942&height=648&iframe=true" scrollbars=no>