Shadowbox and Gray Gragon - can't get Shadowbox to work

TAZattitude

Joined: 2009-04-27
Posts: 74
Posted: Mon, 2012-08-06 12:41

Serge,

I’ve tried everything I can think of to get the Shadowbox module to run on the GD theme.
I can’t figure it out.

The Shadowbox module is clicked on in the admin panel.

Here are the versions I am running
Version 1.9 Shadowbox
Version 3.0.2 Gallery3
Version 3.2.2 GrayDragon theme

I checked in both FF and IE. Both open a new tab/page when clicking on the thumbnail
I also checked the source code and didn’t see the correct code was being inserted.
I have read the posts on the forum.
Obviously something I’m doing wrong, just can’t figure it out.
Any ideas on what the problem could be?

URL to Gallery
http://www.attitudecustompainting.com/gallerymain/index.php/attitude-custom-painting-auto-truck-paint-jobs

Great looking theme, Been using G2 for about 4 years now elsewhere in my site (19,000+ pics)

Thank you

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-08-06 17:49

I do not see SB init in combined JS.
Have you saved your shadowbox settings at least once?

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
TAZattitude

Joined: 2009-04-27
Posts: 74
Posted: Mon, 2012-08-06 18:23

Serge,

Yes I have saved the Shadowbox settings quite a few times.

I did notice that I saw on another thread you were asking about the shadowbox-init.js file.
Mine is only 1kb.
The only contents are the following.

Quote:
// ******* Auto-generated file. Please do not change. ***

$(document).ready(function() {
});

Maybe that's the problem?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-08-06 20:14
TAZattitude wrote:
Serge,

Yes I have saved the Shadowbox settings quite a few times.

I did notice that I saw on another thread you were asking about the shadowbox-init.js file.
Mine is only 1kb.
The only contents are the following.

Quote:
// ******* Auto-generated file. Please do not change. ***

$(document).ready(function() {
});

Maybe that's the problem?

yes, it is. it means settings were not saved. Permissions?

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
TAZattitude

Joined: 2009-04-27
Posts: 74
Posted: Tue, 2012-08-07 10:33

I went back to double check.

I originally set permissions at 666 for the shadowbox-init.js file. Resaved the Shadowbox module - no changes were noticed within the file.
Then I renamed the shadowbox-init.js file, and resaved the Shadowbox module 3 times. It created another file with the same content

Quote:
// ******* Auto-generated file. Please do not change. ***

$(document).ready(function() {
});

It appears possibly we have it narrowed down to this file...Can I manually put the correct code in the shadowbox-init.js file?

Thanks for the quick responses

 
TAZattitude

Joined: 2009-04-27
Posts: 74
Posted: Wed, 2012-08-08 00:14

I've made a little bit of progress. I now see in the file I have the following...

Quote:
// ******* Auto-generated file. Please do not change. ***

$(document).ready(function() {
Shadowbox.init({language: 'en', players: ['img', 'html', 'iframe', 'ajax'], autoplayMovies:false});
Shadowbox.setup(".g-fullsize-link", {
player : 'img'
,gallery : 'preview'
,continuous : true
,animSequence : 'sync'
});

});

I'm not for sure how I achieved this, but I know I deactivated the module and save it. Then reactivated it.
I also changed one option on the shadowbox module options and saved it again.

But it hasn't made any difference as far as showing the images using shadowbox

 
TAZattitude

Joined: 2009-04-27
Posts: 74
Posted: Wed, 2012-08-08 12:19

I spend another 1/2 hour trying to figure out the ShadowBox problem and couldn't get anywhere, I went ahead and just loaded FancyBox.
This works without any problems.