|
|
|
|
"Hello!
I created a horizontal menu whitch apears under the header image based on the coolmenu script!
Installation:
1. you will have to insert in every file in catalog/ (just the ones in catalog/)
a. FIND:
</head>
ADD ABOVE IT:
<SCRIPT LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>
b. FIND:
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
ADD ABOVE IT:
<!-- coolMenu //-->
<?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?>
<!-- coolMenu_eof //-->
2. in catalog/includes/column_left.php
FIND :
include(DIR_WS_BOXES . 'categories.php');
and comment it so it looks like this:
//include(DIR_WS_BOXES . 'categories.php');
3. in in catalog/includes/header.php
FIND:
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> </td>
</tr>
</table>
ADD ABOVE IT:
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td width="100%" align=center>
<?php
if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
} else {
//include(DIR_WS_BOXES . 'categories.php');
include(DIR_WS_BOXES . 'coolmenu.php');
}
?>
</td></tr>
</table>
4. upload new files to your ftp
PLEASE BACKUP YOUR FILES FIRST!!!!
Regards,
PinkCrow
http://www.pinkcrow.net" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|