Easy to install.
!!!!! Backup your catalog/includes/column_left.php first!!!!!
!!!!! (or if categorie box is on the right site the column_right.php) !!!!!
!!!!! Installation on your own risk. !!!!!
credits goes to prior developer, who made this great contrib!
Features:
- little image in front of categories, depending on categorie has sub's or not
- show categories and subcategories till defined categorie level
OR show all categories and all sub level
- don't show empty categories or show
This contrib adjustment was made, because I can't have all categories with ALL sublevel opened, it's to much,
but I want to have them opened till Level 1.
Installation:
if you want to show other then Maincategorie + firstsubcategorie
open catalog/includes/boxes/all_categories.php (out of this upload)
Find $stoplevel = 1;
EDIT
if you want to show just the Maincategorie set $stoplevel = 0
if you want to show Maincategorie + subcategorie set $stoplevel = 1
if you want to show Maincategorie + subcategorie + subsubcategorie set $stoplevel = 2
if you want to show Maincategorie + subcategorie + subsubcategorie + subsubsubcategorie set $stoplevel = 3 etc.
if you want to show Maincategories and all sub's unlimited set $stoplevel = -1
Upload catalog/includes/boxes/all_categories.php
Upload catalog/images/pointer_blue.gif
Upload catalog/images/pointer_blue_light.gif
Edit catalog/includes/column_left.php (or if categorie box is on the right site the column_right.php)
FIND
include(DIR_WS_BOXES . 'categories.php');
Replace with
include(DIR_WS_BOXES . 'all_categories.php');
If you don't want the delivered images, replace them with your own in catalog/images.
If you don't like images in front
Edit all_categories.php
FIND $catpic = 1;
and set to 0 if you want to have the OSC Standard "->" behind categories with subs.
IF you want the activated categorie marked with ' >' in front of the catname
Edit all_categories.php
Find
$activatedmark = 0;
and set it to $activatedmark = 1;
If you'll need the removed link to current category then
Edit all_categories.php
find $linkactivated = 0
and set $linkactivated = 1
If you want to show empty categories
Edit all_categories.php
find $showempty = 0
and set to $showempty = 1
That's it.
Have fun.
!!!!Installation on your own risk!!!!
More...





LinkBack URL
About LinkBacks









Bookmarks