Closed (fixed)
Project:
Ubercart AJAX Cart
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
7 Feb 2009 at 00:24 UTC
Updated:
25 Feb 2009 at 10:30 UTC
In the previous releases the error message (for example, if you click add-to-cart, but don't choose a required attribute) modal window would appear in the middle of the page, as I recall.
This release, however, the modal window appears underneat the entire webpage, almost like a new footer. I've attached a screen shot. Believe me, it's the absolute bottom of the webpage. Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| errorbottom.jpg | 18.67 KB | decaye |
Comments
Comment #1
erik seifert commentedPlease check following :
- jqModal.js is loaded
- jqModal.css is loaded
Or give me an url to check.
Comment #2
decaye commentedyes, you were correct. jqModal.css is not loaded. checked and rechecked with firebug and 'view source'. Is this a bug in the module or should i just load it manually for now?
EDIT - Nevermind. I got it. If anyone else has this issue. Just open uc_ajax_cart.module
around line 346, you wil see "add standard javascript'. After the lines that add the javascript...just put the following.
drupal_add_css( drupal_get_path('module', 'uc_ajax_cart') .'/css/ajaxcart.css' );
drupal_add_css( drupal_get_path('module', 'uc_ajax_cart') .'/css/jqModal.css' );
save it, upload it. Done.
works fine after that.
Thanks for a great module, erik.
Comment #3
erik seifert commentedFixed in RC-6