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.

Type: Discussion
Status: New
mese
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
You can't have both Sortable Fancybox Gallery and Simple Image Gallery blocks on the same page. There's not really much of a reason to have both anyway, they are the same exact gallery on the front-end (just a different editing interface).

See here for more details:
http://www.concrete5.org/marketplace/addons/sortable-fancybox-galle...
mese replied on at Permalink Reply
mese
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.
jordanlev replied on at Permalink Reply
jordanlev
Can you post a link to your site?
mese replied on at Permalink Reply
mese
the site is under construction but:
http://www.thomann-gold.ch/content/index.php/uhren/rado/...

thx a lot
jordanlev replied on at Permalink Reply
jordanlev
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?
mese replied on at Permalink Reply
mese
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.
mese replied on at Permalink Reply
mese
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

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.