So i need to replace the existing admin , images and includes folder? or just put in this directory the contain of this addon admin, image and includes folder???
New Installations:
1, Run the included install SQL.sql file using the Zen-Cart Sql Patches tool (admin -> tools -> install sql patches).
For best results, copy-and-paste the code into the query field and press 'Send'.
=====================================================
2, Upload the files in the new_installation folder to your server. Copy the 3 folders(admin, images and includes) (maintaning directory structure)
Making sure you Change the admin folder name to match the name of your admin directory, and
Making sure you change (YOUR_TEMPLATE is your template name)
=====================================================
3, Then copy the below code to your tpl_product_info_display.php file which is located in
includes/templates/YOUR_TEMPLATE/templates/ (YOUR_TEMPLATE is your template name) or includes/templates/template_default/templates/
to the location you want the Additional Images to display.
<?php require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
======================================================
4, Delete the files in admin/includes/boxes/extra_boxes/ (these files are now obsolete and should be deleted in their entirety!!)
=====================================================
Files that make up this module are:
=====================================================
admin/additional_product_images.php
admin/additional_product_images_upload
admin/includes/extra_datafiles/additional_images.php
admin/includes/languages/english/additional_product_images.php
admin/includes/languages/english/additional_product_images_upload.php
admin/includes/languages/english/images/button_additional_images.gif
image/additional
includes/extra_datafiles/additional_images.php
includes/modules/additional_images.php
includes/templates/custom_template/templates/tpl_modules_additional_images.php
Login to the admin panel, go to tools->SQL Patch and run Install SQL.
=====================================================
To Uninstall This Module:
Delete all file that were installed.
=====================================================
admin/additional_product_images.php
admin/additional_product_images_upload
admin/includes/extra_datafiles/additional_images.php
admin/includes/languages/english/additional_product_images.php
admin/includes/languages/english/additional_product_images_upload.php
admin/includes/languages/english/images/button_additional_images.gif
image/additional
includes/extra_datafiles/additional_images.php
includes/modules/additional_images.php
includes/templates/custom_template/templates/tpl_modules_additional_images.php
Login to the admin panel, go to tools->SQL Patch and run the uninstall SQL and your done.
Thats it You are done....Enjoy


Reply With Quote
