Contributions
Show Sub-categories
A very simple modification that expands the categories infobox to include the first level sub-categories below the parent category.
A sample of the modified categories box can be seen at http://www.diyreef.com/development/catalog/default.php
Expand All / Collapse All
I have modified the file categories, to also get the under-categories of third level.
this is the complete package
ho modificato il file categories, per ottenere anche le sotto-categorie di terzo livello.
questo č il pacco completo
Very dissapointed. If the category "CDROM Drivers" also has a subcategory"AA", then it can't be shown in listing. And can't find it anywhere. I don't solve this problem. I put the words here to see if someone can solve it.
COMPLETE PACK
------------------
Fixed install instructions: styles for links to display the categories and subcategories with an onmouse over effect.
Include 4 styles for display the categories menu box.
See the folder screenshoots to see the result of modifications.
- solid background color for onmouse over
- image (gradient color)
- image + box without borders, links in cells
- image + box without borders and more changes, cells with more height, new classe of boxes,...
Include instructions for customize the box
and instructions in spanish
DEMO:
http://www.oscommerce-demo.com/demo01/
(This demo include a modification for borders not include in this contribution, but used this version of show all subcategories and is similar menu 4 of this contribution.)
----- in spanish ------
PACK COMPLETO
-------------------
Correcion en instrucciones para mostrar correctamente los enlaces con el efecto onmouse over.
Incluye nuevos estilos. 4 estilos distintos para mostrar los enlaces de las categorias y subcategorias.
Ver la carpeta screenshots que contiene ejemplos de cada estilo.
- menu con efecto onmouse over con color solido al posicionar el puntero del raton sobre una categoria o subcategoria.
- similar pero con una imagen (con color gradiente, de un tono oscuro a un tono mas claro)
- similar al anterior pero con un modulo sin los bordes que vienen por defecto y ajustado las casillas del menu al borde.
- similar al anterior pero con mas cambios, altura definida de las casillas que son mas altas, colores de las casillas y bordes distintos, nueva classe de box,...
Incluye instrucciones de personalizacion e instrucciones en ingles y espaņol de instalacion.
DEMO:
http://www.oscommerce-demo.com/demo01/
(Esta demo incluye una modificacion de los bordes de los modulos que no incluye esta contribucion, pero usa la version que muestra todas las subcategorias en el menu, es similar al menu 4 de esta contribucion.)
---SORRY, THIS IS THE CORRECT VERSION, the previos version no have the onmouse CSS-light-effect
Download this
PERDON, ESTA ES LA VERSION CORRECTA, la version anterior no contiene el efecto "luminoso"
Descarge esta ---
This is the same previous version
include a change to mostrate a onmouse light effect with the use of the styles of the file stylesheet.css
No javascript, only with css.
Tested in ie 6.0
DEMO here: http://oscommerce.byethost22.com/catalog/
this zip have a screenshot of the result.
This zip include the icons lost in the previous version.
You can customize the colors and the borders.
Include intructions in english and spanish.
Main Credit goes to those below
Created by Justin Baldwin
-----------------
Esta es la misma version que la anterior
que mostraba en el modulo de Categorias de la columna izquierda, tanto las categorias como todas las subcategorias a la vez.
Esta version incluye una modificacion
para mostrar las categorias y subcategorias en casillas
y al posicionar el puntero encima de una de ellas cambia el color de fondo de la casilla mostrando de este modo un efecto luminoso
No se usa javascript, se hace mediante la un estilo de la hoja de estilo.
Incluye ademas iconos que no traian las versiones anteriores. Incluye una imagen de muestra del resultado.
Puedes ver una demostracion en:
http://oscommerce.byethost22.com/catalog/
Se puede personalizar para mostrar un color diferente del fondo de la casilla, o de los bordes, en este ejemplo incluido no se ven las casillas sino al pasar el puntero del raton por encima, pero cambiando los colores del borde puedes ver el contenido del modulo categorias por casillas.
incluye instrucciones de instalacion en espaņol e ingles.
This is the same previous version
include a change to mostrate a onmouse light effect with the use of the styles of the file stylesheet.css
No javascript, only with css.
Tested in ie 6.0
DEMO here: http://oscommerce.byethost22.com/catalog/
this zip have a screenshot of the result.
This zip include the icons lost in the previous version.
You can customize the colors and the borders.
Include intructions in english and spanish.
Main Credit goes to those below
Created by Justin Baldwin
-----------------
Esta es la misma version que la anterior
que mostraba en el modulo de Categorias de la columna izquierda, tanto las categorias como todas las subcategorias a la vez.
Esta version incluye una modificacion
para mostrar las categorias y subcategorias en casillas
y al posicionar el puntero encima de una de ellas cambia el color de fondo de la casilla mostrando de este modo un efecto luminoso
No se usa javascript, se hace mediante la un estilo de la hoja de estilo.
Incluye ademas iconos que no traian las versiones anteriores. Incluye una imagen de muestra del resultado.
Puedes ver una demostracion en:
http://oscommerce.byethost22.com/catalog/
Se puede personalizar para mostrar un color diferente del fondo de la casilla, o de los bordes, en este ejemplo incluido no se ven las casillas sino al pasar el puntero del raton por encima, pero cambiando los colores del borde puedes ver el contenido del modulo categorias por casillas.
incluye instrucciones de instalacion en espaņol e ingles.
Two quick amendments to re-incorporate arrows and to improve formatting.
Main Credit goes to those below.
Only made one modification to line 126 for proper spacing between category, subcategories, and next line.
Before the second categorie showed on the same line as the subcategory.
Attached isn't the complete contrib, it's just categories.php [from June 21 Update] with the fix.
Fixed categories.php
When going from a category into a sub-cat then back to the main categroy via the menu didn't work. It would stay in the sub-cat with cPath=1_2_1 for instance.
Attached isn't the complete contrib, it's just categories.php with the fix.
It's a bit of an ugly one to be honest but it works. The old code got the cPath partly from cPath_array so I unset that one and reset it after building the links.
See working on www.watches-and-monitors.co.uk (LIVE!)
Fixed a bug with the $status query, deleted some extra returns, and removed the spaces between the rows. Thank you to Alex Schneider for all of the help.
A very simple modification that expands the categories infobox to include the first level sub-categories below the parent category.
A sample of the modified categories box can be seen at http://www.diyreef.com/development/catalog/default.php
Note: Contributions are used at own risk.