Contributions

Features (Category Index)
Search: 

Activate or inactivate category of catalog

This contributions allows you to display or hide any category or subcategory.

The install is very easy and take a 1 or 2 min.

Expand All / Collapse All

activate or Inactivate Categories of Catalog v 1.31 1 Oct 2009

Bug fixed for compatiblity with MySQL 4. If you are using a version of MySQL prior to version 5 you need this correction since in SQL queries version 4 processes NOT before IN rather than IN before NOT as in version 5 under which this contribution was tested. The solution is simply to put parenthesis around the IN operators wherever used in a query to make sure they are processed first regardless of the version of MySQL.

Complete corrected instructions attached. If you've already installed version 1.3 the only changes are that the SQL queries are changed from

and (not p2c.categories_id in (" . implode(',', $hiddencats) . "))

to

and (not (p2c.categories_id in (" . implode(',', $hiddencats) . ")))

in eleven files (one place each in ten files and twice in index.php).

Activate or Inactivate Categories of Catalog v 1.3 23 Sep 2009
Activate or Inactivate Categories of Catalog 18 Sep 2009
Activate or Inactivate Categories of Catalog 16 Sep 2009
Fix for Main categories as thubnails on index 13 Aug 2009
correction 20 Feb 2009
Activate or inactivate category of catalog 2 Jan 2009

Note: Contributions are used at own risk.