-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Installation (Zen Cart catalog):
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
1) Backup your files and the database (as always).
2) Copy the contents of the superglobals.sql file into the textbox of the sql patch tool in the Zen Cart admin/tools/ section
(do not use the sql upload feature, that usually does not work well).
If the Zen Cart sql tool returns errors, it's usually caused by its bugs. In that case use phpMyAdmin for example (don't forget to add your table prefixes if any!).
3) Copy the file superglobals.php
from: superglobals-plus_v1.24\catalog\includes\functions\extra_functions\
to your shop's: \includes\functions\extra_functions\
4) Copy the file stylesheet_superglobals.css to your catalog template css directory:
includes\templates\<YOUR TEMPLATE>\css\
5) Copy the file
from: includes\templates\template_default\common
to: includes/templates/<YOUR TEMPLATE>/common/
(if the subdirectory 'common' doesn't exist under <YOUR TEMPLATE>, create it)
TOpen the tpl_main_page.php file and, just before the ending </body> tag, add:
PHP Code:
<!--bof- superglobals display -->
<?php
// BEGIN Superglobals
if(SHOW_SUPERGLOBALS == 'true') echo superglobals_echo();
// END Superglobals
?>
<!--eof- superglobals display -->
6) Open the file admin/includes/footer.php and, just before the ending </body> tag, add:
PHP Code:
<!--bof- superglobals display -->
<?php
// BEGIN Superglobals
if(SHOW_SUPERGLOBALS_ADMIN == 'true') echo superglobals_echo();
// END Superglobals
?>
<!--eof- superglobals display -->
7) Ready
(or ready to install the admin version if you like).