Error message using fancy box and no sort possibility

Permalink Browser Info Environment
I am really happy with the fancy box. I bought the deluxe version but I have in 2 problems. After assigning it to a block and updating it I get an error message. I the screen stays black and I get this box (see attachment) The error message box is blank but in the top I see this code:

{"aID":"213", arHandle":"Main", "cID":"82","isGlobalBlock":false"error":"bID":"375"}


My guts tells me it has something to do with the template, in this case Camilo from Richardet.

After closing the error message the block is empty but closing the edit screen the box is installed like nothing happened.

The second problem is that I can't sort the pictures. The cross with arrows appears but moving the pictures makes them just jump back.

Some help would be appreciated. The website ishttp://www.pnp.me

Pieter.

1 Attachment

Type: Discussion
Status: New
3CGroup
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Hi Pieter,
I have had this problem before with many different blocks. It is usually the result of a javascript error -- either the same javascript file is being included on the page more than one time, or there is an error in the javascript of some block you're using.

If you can PM me a login to your site, I'd be happy to take a look and see what's going on (I'm not running into any problems just by viewing the site as a guest). If you'd rather not do that, then I would use the Firebug plugin (for Firefox) and see if any specific errors are coming up, and if not, use the debugger to step through all of the page's javascript line by line and isolate where the error is occurring.

Also, see these two prior threads:
http://www.concrete5.org/index.php?cID=102783#104756...
http://www.concrete5.org/community/forums/chat/just-upgraded-to-5-4...

-Jordan
3CGroup replied on at Permalink Reply
3CGroup
Hi Jordan,

the Camilo theme is equipped with the shadowbox script, could that be a reason. Also for the non sorting error?

I send you access details to your mail address.

Kind regards,

Pieter
3CGroup replied on at Permalink Reply
3CGroup
Jordan gave me the solution with my problem for the strange behavior of his fancy box add-on.

The problem was the java script in the theme I used. In this case Camilo from Richardet. The theme is a great one and comes with shadowbox. Amongst the scripts for this also jquery is used. This creates a conflict because concrete already includes jquery by itself.

The solution Jordan left me is the following:
In the themes templates (default.php, left_sidebar.php etc.) search for the line wit
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.ui.js"></script>

and replace it with
<?php if (!Page::getCurrentPage()->isEditMode()): ?>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.ui.js"></script>
<?php endif; ?>


this did the trick, I was able to sort the pictures again and update the block without errors.

Jordan was a great help and his response was remarkable fast. Thanks Jordan!

So guys buy his Fancy Box de Luxe it's a great tool!

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.