Slider doesn't work with java-script error on the front-end right after installing MageRewards on my custom store design

You may see an error like this if you have custom JS includes on your store:

Control is not defined in SmoothSlider.js (line 46) -> SmoothSlider.prototype = Control.Slider.prototype;

That means that your store is not including the core scriptaculous javascript files that define the default image zoom slider functionality. You just need to add it back in to make this error go away. Add this:

   <action method="addJs"><script>scriptaculous/slider.js</script></action>

right after this:

   <block type="page/html_head" name="head" as="head">

in your page.xml file that is being loaded to resolve the issue.

Still need help? Get Help Get Help