gallery on live site open in new tab / window
Permalink Browser Info Environment
Hi Jordan
I have the same problem with: Sortable Fancybox Gallery & Simple Image Gallery.
If i'm logged in it works great! But on the live site the pictures open in a new window / tab.
Code:
<div class="sortable_fancybox_gallery_container">
<div class="sortable_fancybox_gallery_image" style="height: 150px; width: 33.333333333333%;">
<a href="/content/files/cache/3a74aceb73e6bcf5643c775c1ca47cdc.jpg" rel="fancybox113" title="">
<img src="/content/files/cache/52c58756fd58e0b00a1435e5abc9931b.jpg" width="150" border="0" height="112" alt="a-r21540252-r21-540-25-2.jpg" /> </a>
</div>
Can you please help me out?
btw: your demo is working with IE & FF but on my site not.
I have the same problem with: Sortable Fancybox Gallery & Simple Image Gallery.
If i'm logged in it works great! But on the live site the pictures open in a new window / tab.
Code:
<div class="sortable_fancybox_gallery_container">
<div class="sortable_fancybox_gallery_image" style="height: 150px; width: 33.333333333333%;">
<a href="/content/files/cache/3a74aceb73e6bcf5643c775c1ca47cdc.jpg" rel="fancybox113" title="">
<img src="/content/files/cache/52c58756fd58e0b00a1435e5abc9931b.jpg" width="150" border="0" height="112" alt="a-r21540252-r21-540-25-2.jpg" /> </a>
</div>
Can you please help me out?
btw: your demo is working with IE & FF but on my site not.
Type: | Discussion |
---|---|
Status: | New |
Thanks for the reply.
But I haven't both blocks on the same page.
First i tried "Simple Image Gallery" but on the live site the lytebox doesn't open. Then I saw the "Sortable Fancybox Gallery" and was trying that one. The effect is the same.
So now i have just the "Sortable Fancybox Gallery" and the pictures open in a single window / tab. But if i'm logged in it works perfect.
But I haven't both blocks on the same page.
First i tried "Simple Image Gallery" but on the live site the lytebox doesn't open. Then I saw the "Sortable Fancybox Gallery" and was trying that one. The effect is the same.
So now i have just the "Sortable Fancybox Gallery" and the pictures open in a single window / tab. But if i'm logged in it works perfect.
Can you post a link to your site?
the site is under construction but:
http://www.thomann-gold.ch/content/index.php/uhren/rado/...
thx a lot
http://www.thomann-gold.ch/content/index.php/uhren/rado/...
thx a lot
You somehow have jquery disabled. I'm not sure how this could have happened -- did you try to disable this for non-logged-in users perhaps?
Yes, i saw the error with firebug. I also don't know how this could happen. I try to finde the problem and reply it here.
Ok i found it.
in my local /elements directory was the header_required.php with following:
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
}
Just removed the if() now everything is perfect
Thx Jordaniev for helping
in my local /elements directory was the header_required.php with following:
if ($u->isRegistered()) {
$this->addHeaderItem($html->css('ccm.base.css'), 'CORE');
$this->addHeaderItem($html->javascript('jquery.js'), 'CORE');
$this->addHeaderItem($html->javascript('ccm.base.js'), 'CORE');
}
Just removed the if() now everything is perfect
Thx Jordaniev for helping
See here for more details:
http://www.concrete5.org/marketplace/addons/sortable-fancybox-galle...