Closed (duplicate)
Project:
Brilliant Gallery
Version:
6.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2009 at 23:30 UTC
Updated:
16 Sep 2011 at 22:55 UTC
The images show up in the manage gallery page fine, and I get the checkboxes, but I can't actually seem to make an image not show.
1) The checkboxes are labeled visible in green
2) I check the checkbox, the label goes to saving... in red
3) then... nothing.
The code looks like the label should end up at invisible but it doesn't get there.
Now, I've uninstalled and reinstalled 6.x-3.0, modified the file to do {brilliant_gallery_checklist} in all places, the table is there in my db, but something is going wrong in setting it...
Comments
Comment #1
grecosam commentedI am seeing the same issue.
Comment #2
siddd commentedI had the same problem, with a drupal installation in a subfolder, like http://url.tld/drupalfolder. I added the path in bgchecklist.js (/modules/brilliant_gallery/bgchecklist.js) to all requests: $.getJSON("/drupalfolder/bgchecklist/loadall/"+nodeid, also for the save requests. That solved the problem...
Comment #3
Maszie commentedthis was working for me! Thanks a lot!
Comment #4
letzel commentedI observe the same behaviour.
Just to make sure: I understand that I have to replace each occurance of "/bgchecklist/" by "/drupalfolder/bgchecklist/", right?
Is there some variable that could be used to identify the subfolder "/drupalfolder"? This would save some editing for BG installations in several different drupal subfolders.
Comment #5
mycal2 commentedI have the same problem with a multi site installation:
http://mysite.de/sites/mysite.de/modules/brilliant_gallery/
I tried to change the path in bgchecklist.js but it didn't help.
Any idea ?
Comment #6
ttaylor797 commentedBecause I know I am going to be using this module on a couple of sites, I changed the bgchecklist.js (/modules/brilliant_gallery/bgchecklist.js) to use relative paths for all requests.
For example: (bgchecklist.js line 9)
$.getJSON("/bgchecklist/loadall/"+nodeid,
became
$.getJSON("./bgchecklist/loadall/"+nodeid,
After testing that: I put the following var rootdir in play:
var nodeid=9999999;
var rootdir='.';
The updated the requests to:
$.getJSON(rootdir+"/bgchecklist/loadall/"+nodeid,
@maycal2 - Perhaps that may help you with your the muli site install?
Comment #7
arpita123 commentedsame issue...
saving...and nothing else
i am newbie...can some one please elaborate the above instructions regdg bgchecklist...
please help...
Comment #8
arpita123 commentedhave tried this....also i changes in module file the paths//
stil no help
have drupal folder inside- C:/wamp/www
bril-gal under drupal/modules/brilliant_gallery
Please someone help
Comment #9
jedcannon commentedRun update.php!
Ok Guys, I have an answer. Once you have changed the paths in bgchecklist.js you need to run update.php
I wasted days on this on and off. The documentation also mentions needing ajax checkbox ( I think it said you need the module - maybe it meant it uses ajax.) I dont have ajax checkbox installed and I can successfully enable and disable images having changed bgchecklist.js and run update.php
:)
Comment #10
vacilando commentedDuplicate of #379026: bgchecklist.js not using correct path.