JQueryTools and Products (and Language)
Posted: Thu Nov 11, 2010 8:32 am
Hopefully I'm not posting someting that is already described, but I'm really stuck here...
In my Product Details template, I added to the top of the file:
One of my Product fields, is displaying an image, using class="subpage fancybox".
Everything OK, however, at the bottom of the page, I use:
For some reason this is displayed as:
So it seems that the code is trying to retrieve the 'return_to_top' text from a language file in the JQueryTools module.
Can I override this some way? Or this some bug I have to work around?
Regards,
Bert
In my Product Details template, I added to the top of the file:
Code: Select all
{JQueryTools action=incjs}
{JQueryTools action=ready}
{literal}
<__script__ type="text/javascript">
jQuery(document).ready(function() {
jQuery('a.fancybox').fancybox({
'zoomSpeedIn': 300,
'zoomSpeedOut': 300,
'overlayShow': false
} );
});
</__script>
{/literal}
Everything OK, however, at the bottom of the page, I use:
Code: Select all
{anchor anchor='product_name' text=$products->Lang('return_to_top') title=$products->Lang('return_to_top')}
Code: Select all
--Add Me - module:JQueryTools string:return_to_top--
Can I override this some way? Or this some bug I have to work around?
Regards,
Bert