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

grecosam’s picture

I am seeing the same issue.

siddd’s picture

I 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...

Maszie’s picture

this was working for me! Thanks a lot!

letzel’s picture

I 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.

mycal2’s picture

I 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 ?

ttaylor797’s picture

Because 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?

arpita123’s picture

same issue...
saving...and nothing else

i am newbie...can some one please elaborate the above instructions regdg bgchecklist...
please help...

arpita123’s picture

have 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

jedcannon’s picture

Issue tags: +brilliant gallery saving issue solved

Run 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

:)

vacilando’s picture

Version: 6.x-3.0 » 6.x-4.x-dev
Category: support » bug
Status: Active » Closed (duplicate)