CRELoaded Template Patch Installation GuideThis document offers hints and tips you need to know about the template before you install patches to your CRELoaded store.
Template 'Smart Button' system and html_output.php Our template uses a 'Smart Button' system. It displays buttons that it creates 'on the fly', rather than displaying physical images from the images directory. Our 'smart button' system works by taking the values of the image alt tags and creating a new button using the image alt tag as button text.Our button system has one big advantage over the original shopping cart image functions. With this system, you no longer need to create a physical button image(.gif, .jpg), if you need to add/edit a new image to your store. This is especially helpful for customers who need have multiple languages installed on their store and require buttons in several languages. By using this system, any language installed on the customer site will be guaranteed to have all necessary buttons because, so long as the alt tags are defined in the language files, the buttons will be created. The template 'Smart Button' system code is in the html_output.php file located in the includes/functions directory. Prior to installing a patch, find out if html_output.php is one of the files that the patch will replace. If this is true, you need to apply the 'Smart Button' related changes that we have made to the image_submit and image_button functions of our html_output.php to the patch version of html_output.php. If you ignore this step, you will find that the template buttons will not display correctly. |