• Closed by: Kate Support
  • Closed on: 24.04.14, 17:47
  • Reason: Fixed
  • Comment: Reason for request: fresh install of alysum 3.0.8 doesn't have the problem

Ticket #4402 - fancybox variables not loaded

presta 1.6.0.6
alysum 3.0.8
As a side-note, but perhaps important, this 3.0.8 install is a manual upgrade from a working 3.0.1.
I don’t do automatic upgrades as it messes up all settings and takes forever to get them back.

Uncaught ReferenceError: FancyboxI18nClose is not defined global.js:93

alysum/js/global.js:

if (!!$.prototype.fancybox)
	$.extend($.fancybox.defaults.tpl, {
		closeBtn : '<a title="' + FancyboxI18nClose + '" class="fancybox-item fancybox-close" href="javascript:;"></a>',
		next     : '<a title="' + FancyboxI18nNext + '" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',
		prev     : '<a title="' + FancyboxI18nPrev + '" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'
	});

—– fancybox is in /js/jquery/plugin/fancybox
/controllers/front/ProductController.php has
$this→addJqueryPlugin(array(’fancybox’, ‘idTabs’, ‘scrollTo’, ‘serialScroll’, ‘bxslider’));

I have forced Smarty Template recompilation and disabled caching, the problem remains.

Comments

No comments yet