Double image

  • dadoen
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #22779 by dadoen
Replied by dadoen on topic Double image
In new domain with only hot start installation problem is same. Only changes is Cashe settings ( On- Conservative cashing). When cashe setting is off working fine.
New domain with problem:
kuglica.info/

Please Log in to join the conversation.

More
12 years 2 months ago #22785 by ivan.milic
Replied by ivan.milic on topic Double image
Try this fix (messy):
open \libraries\joomla\html\html\behavior.php

find this:
Code:
$document ->addScriptDeclaration( " window.addEvent('domready', function() { SqueezeBox.initialize(" . $options . "); SqueezeBox.assign($$('" . $selector . "'), { parse: 'rel' }); });" );

modify it to this:

Code:
$document ->addScriptDeclaration( " if(!window.sb_flag){ window.addEvent('domready', function() { SqueezeBox.initialize(" . $options . "); SqueezeBox.assign($$('" . $selector . "'), { parse: 'rel' }); }); window.sb_flag = true; ) " );

Please Log in to join the conversation.

  • dadoen
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago - 12 years 2 months ago #22788 by dadoen
Replied by dadoen on topic Double image
I am change it and please check site to view diferences. on kuglica.info
Last edit: 12 years 2 months ago by dadoen.

Please Log in to join the conversation.

More
12 years 2 months ago #22790 by ivan.milic
Replied by ivan.milic on topic Double image
ok, it was syntax error ) instaed of }
Code:
$document ->addScriptDeclaration( " if(!window.sb_flag){ window.addEvent('domready', function() { SqueezeBox.initialize(" . $options . "); SqueezeBox.assign($$('" . $selector . "'), { parse: 'rel' }); }); window.sb_flag = true; } " );

Please Log in to join the conversation.

  • dadoen
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #22791 by dadoen
Replied by dadoen on topic Double image
Now it is work fine.

Thanks Ivan!

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum