Community Add-Ons
Show All Categories
for osCommerce Online Merchant v2.2
This box will show the whole category tree at once.
- Option: hover effect
- option: showmore in defined catlevel after 'n' categories in the defined catlevel.
e.g.: cat a
subcat a1
subcat a2
subcat a3
subcat a4
...
will be cat a
subcat a1
subcat a2
more ...
Easy to install but ... Installation on your own risk!
Sorry, but I used <br><br><br> above the categorie box, so the categorie box will move 3 lines down, because of a Backgroundimage in the Top.
Think, you don't need this:
So please find in all-categories.php
<br><br><br>
and delete them.
or use the new package.
Bernd
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!
I'll read somewwhere, that user want to categories opend till categorie x, so added this to this contrib.
added features:
- Option: just open the first 'n' categories till level 'x' and the rest till level 'y'
- Option: additional layout
- Option: if user is in categorietree, close the other catgories till level 'z'
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.
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!!!!
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
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.
**** full package *****
Cleaned the way in which the categories are displayed:
* bold for all categroires in the path
* ">" to indicate the current category
* removed link to current category
* only indent subcategories (top level are flush left)
This box will show all categories at once.
It is compatible with older versions of the database, lacking the 'status' field.
Corrects a bug in the cPath generation.
Selected category in bold.
Thank you to Peter Fürsicht.
This box will show all categories at once.
Two display modes.
It should be compatible with older versions of the database, lacking the 'status' field.
Corrects a bug in 1.3
This box will show all categories at once.
It should be compatible with older versions of the database, lacking the 'status' field.
Thanks to David Ng for testing this.
This box will show all categories at once.
It should be compatible with older versions of the database, lacking the 'status' field.
This box will show the whole category tree at once.
