This is a discussion on Use a gif image instead of text in boxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Can anyone point me to info on how to use a gif image in place of text in various boxes? ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Can anyone point me to info on how to use a gif image in place of text in various boxes? For example, can I design my own navigation buttons to use under the "category" box that will replace the standard text? Can I also add a separate hover button there too? Thanks for any help. |
|
#2
| |||
| |||
| in includes/boxes/categories.php look for where it shows: $tree[$counter]['name'] replace this with tep_image(DIR_WS_IMAGES . 'navigation/' . $tree[$counter]['name'] . '.gif') and make sure you create a directory in images/ called "navigation" and in that place gif images named the same as your category names. Actually a safer way would be to use tep_image(DIR_WS_IMAGES . 'navigation/' . $counter . '.gif') ..and just name your images after the category numbers. This would avoid problems with spaces and other characters in the category names. jon |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| image headers in info boxes? | Dragonmom | osCMax v2 Customization/Mods | 4 | 12-20-2006 08:13 AM |
| Attributes as text boxes? | webman | osCMax v2 Customization/Mods | 9 | 12-04-2005 09:03 AM |
| Change text colour for hyperlinks in boxes | ChocolateTeapot | osCommerce 2.2 Modification Help | 1 | 04-25-2005 11:05 AM |
| Trying to put a image in php (/boxes/categories.php) | JBright | osCommerce 2.2 Modification Help | 0 | 06-06-2003 10:48 AM |
| [b]Image around Boxes ?!?!?[/b] | iluminate | osCommerce 2.2 Modification Help | 1 | 11-20-2002 04:44 PM |