Module doesn't work in subdirectories

somnoliento - April 15, 2008 - 17:18
Project:Ajax Checklist
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The Javascript code (ajax_checklist.js) assumes the Drupal installation will be the root of the webserver.

That is, if your URL is example.com/drupal/ you have to change every instance of "/ajaxchecklist/" to "/drupal/ajaxchecklist" in that file.

#1

chromix - January 14, 2009 - 22:03

Wow... THAT's what was wrong. FYI, fixing this bug will apparently also fix this one: http://drupal.org/node/354302.

#2

asciikewl - January 15, 2009 - 20:17

Release 5-1.3 should fix this. The equivalent code for D6 is in CVS but I haven't had time to test it yet.

#3

rschiener - February 12, 2009 - 18:24

I had really trouble getting it running (Drupal V6.9, Subdirectory and prefixed tables). There's a bug in the Code for D6 in the CVS.

For me it worked replacing each "/?q=ajaxchecklist/" in ajax_cecklist.js with "?q=ajaxchecklist/"

 
 

Drupal is a registered trademark of Dries Buytaert.