Page 1 of 1
Lightbox Problem
Posted: 14 Sep 2010, 18:18
by ryan777
Hi, I love the look and quickness of phocagallery, but I'm having a problem on 2 different sites I'm building. For whatever reason, the lightbox effect only displays properly when I'm signed in on the frontend of the site. To the average visitor though, the picture pops up in a new browser tab which is no good. I have a feeling it's something to do with the template, but I'm not sure. I read on another post that the shadowbox library could be conflicting with another, but as far as I know the template does not have shadowbox built in. Some of the other component's i'm using are: JCE, Jumi and the Modules anywhere plugin.
Has anyone ever encountered this? If so, how or where would I even start looking in order to fix it? Thanks!
Re: Lightbox Problem
Posted: 14 Sep 2010, 22:59
by Jan
Hi, did you test it with other template (switching to e.g. standard rhuk_milkyway) or did you test to disable modules loaded at the same time like Phoca Gallery is loaded?
Jan
Re: Lightbox Problem
Posted: 15 Sep 2010, 16:45
by ryan777
jan, thanks for the reply. I switched out templates and the shadowbox worked, so it has to be the template and not any of my components. Any idea what sort of file could be conflicting? The template is ABC logic and only has a few js files associated with it. Could it be one of those that are causing the problem?
Re: Lightbox Problem
Posted: 15 Sep 2010, 16:50
by TacTic
I had the same problem with safecontact and I got a good solution.
If your template is a templatemonster you may want to look in your index file and remove this:
Code: Select all
if ($user->get('guest') == 1) {
$headerstuff = $this->getHeadData();
$headerstuff['scripts'] = array();
$this->setHeadData($headerstuff); }
Re: Lightbox Problem
Posted: 15 Sep 2010, 18:17
by ryan777
TacTic,
As my template is from templatemonster, taking that bit out fixed the problem. YOU ARE AWESOME!!! Thank you!