my Drupal is installed under website.com/drupal and my Gallery is installed under website.com/gallery. Everything works Great!!! But, I am having an issue addressing the Searchbox.js, icons/iconpacks/silk/icons.css, and the themes/matrix/theme.css. They somehow are addressed as website.com/drupal/gallery... So the import is referring to them with the /drupal/ in front of it causing it to not reach those CSS and JS files. Anyone with any ideas.... Thanks,

Comments

lvthunder’s picture

Yeah this is a known issue. To fix it you need to move G2 inside your Drupal directory.

bfdexp’s picture

lol, anything easier than that? I already have everything live and integrated.... Does anyone know where in the code that this is injected so that this may be corrected manually?

Thanks!!!

attiks’s picture

Did you try moving the files to /drupal/gallery, copy everything or only those needed. Depending on your system you can try to symlink them

Peter

lvthunder’s picture

No you don't want to copy them to /drupal/gallery. /drupal/gallery2 is fine. A symlink is fine. I think the external path thing is a limitation of drupal or at least I think that's what profix898 said. Do a search on drupal.org on profix898 and CSS and I bet you'll find a better explanation.

bfdexp’s picture

I thought about just moving those 4 files to those directory paths, guess it is my only solution. Will let you know how it goes. Thanks,

profix898’s picture

@bfdexp: Try the latest 5.x-2.x-dev version of gallery module. It includes a patch that should be solving your issue but it is likely to break Lightbox integration (using a Drupal Lightbox* module) ... so for most D5/G2 installs it should be OK.