can't set an image to be invisible/manage galleries

druchris1 - January 21, 2009 - 23:30
Project:Brilliant Gallery
Version:6.x-3.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:brilliant gallery saving issue solved
Description

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

#1

grecosam - January 28, 2009 - 00:15

I am seeing the same issue.

#2

siddd - January 30, 2009 - 14:08

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

#3

Maszie - March 27, 2009 - 07:58

this was working for me! Thanks a lot!

#4

letzel - April 3, 2009 - 23:09

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.

#5

mycal2 - April 11, 2009 - 15:42

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 ?

#6

ttaylor797 - May 8, 2009 - 13:05

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?

#7

arpita123 - May 28, 2009 - 22:22

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

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

#8

arpita123 - May 29, 2009 - 10:39

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

#9

jedcannon - September 16, 2009 - 16:03

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

:)

 
 

Drupal is a registered trademark of Dries Buytaert.