7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Image Gallery init issue
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 697 Views |
-
Image Gallery init issue

4 November 2009 at 8:25am
I just thought I would pass this along in case anyone else runs into this problem. I don't think this is a bug with the Image Gallery module but just a unfortunate set of circumstances.
I had the Image Gallery module up and running on a clients site an then I got a email from the client stating that their gallery page had stopped showing photos. After investigating it turns out that they had commented out their Google Analytics code. This code is located right before the closing body tag. The Image Gallery module inserts its script tag code in the same location. It turns out that if there's a commented out script tag block in this location the Image Gallery initialization script tag code will get inserted into the this commented out block. Thus, none of the gallery photos will be shown (actually they are there but just hidden and don't get displayed until the init script is run).
| 697 Views | ||
|
Page:
1
|
Go to Top |

