Super Globals Plus for Zen Cart 1.3.9, 1.5.0, 1.5.1, 1.5.2 and 1.5.3

Version 1.6.0 by paulm, torvista and lat9

Current Support Thread at Zen Cart Forums: http://www.zen-cart.com/forum/showthread.php?p=429150

Copyright

Paul Mathot, Haarlem, the Netherlands, September 2007 (beterelektro.nl) :: lat9 (vinosdefrutastropicales.com), 2011-2014. Released under the Gnu General Public License (see included LICENSE.TXT)

What it does

Super Globals Plus is a developers' tool that makes evaluating variables easy. It produces a clear overview of the contents of strings, arrays, constants, objects, arrays within object, objects within arrays or whatever. Because the amount of information given by this tool was overwhelming to most new users of the Super Globals Plus script, version 1.24 and later only shows $_POST and $_SESSION by default.

Features:

Sample output

How to use it

After you have you have copied the required files and logged into your store's admin, you will see the Configuration->Superglobals selection. Within that selection are the values that you can use to control the plugin's display.

Installation

There are no core-file overwrites for the catalog area in this plugin, but there are core-file admin overwrites. You should always backup your store's database and files prior to making any changes.

  1. Log into your Zen Cart admin.
  2. Copy these files to your store's file-system, after renaming the "YOUR_TEMPLATE" directory to match your custom template's name and the "YOUR_ADMIN" directory to match the name of your admin directory:
    1. /includes/functions/extra_functions/superglobals.php
    2. /includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php
    3. /includes/templates/YOUR_TEMPLATE/css/stylesheet_superglobals.css
    4. /YOUR_ADMIN/index.php
    5. /YOUR_ADMIN/includes/footer.php
    6. /YOUR_ADMIN/includes/stylesheet.css
    7. /YOUR_ADMIN/includes/stylesheet_superglobals.css
    8. /YOUR_ADMIN/includes/functions/extra_functions/superglobals.php
    9. /YOUR_ADMIN/includes/languages/english/extra_definitions/superglobals.php
  3. Click the "Admin Home" link. After you've clicked that link, the plugin's auto-installer will run and the Configuration->Superglobals will be available.

Un-install

Run either superglobals_remove.sql (for Zen Cart v1.5.0 or later) or superglobals_remove_139.sql (for Zen Cart v 1.3.9x) to remove the database entries, then delete the files you previously copied (replacing the admin core files that were overwritten).

Version History: