- Posts: 37
- Thank you received: 0
Double image
-
dadoen
Inactive member - Topic Author
- Member
Less
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/
New domain with problem:
kuglica.info/
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
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:
modify it to this:
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
Less
More
- Posts: 37
- Thank you received: 0
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
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.
Time to create page: 0.089 seconds