This is a discussion on Cool menu install question. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hey guys, I was thinking about installing the coolmenu contribution for oscommerce. The install instructions say you have to modyify ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hey guys, I was thinking about installing the coolmenu contribution for oscommerce. The install instructions say you have to modyify the left_column.php among other files but it says you have to find the line include(DIR_WS_BOXES . 'categories.php'); and replace it to include(DIR_WS_BOXES . 'coolmenu.php'); Now it could just be me but I can't find that line in the left_column.php file. Can someone point me in the right direction so I can go about installing this mod? Thanks, ~Craig |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| You can just put the code you need on the left_column.php file and then when you see the duplicate menu, you can better locate the file that needs to be commented out. |
|
#3
| ||||
| ||||
| If you have time, post your code for your left_column.php file contents here, and I can fix it for you. |
|
#4
| |||
| |||
| Ok I went ahead and tried installing the coolmenu to my site. I couldn't find the line include(DIR_WS_BOXES . 'categories.php'); in my left_column.php file. But I added the line include(DIR_WS_BOXES . 'coolmenu.php'); to it anyways. Here is my left_column.php file because I don't know if it is correct. <?php /* $Id: column_left.php,v 1.2 2003/09/24 15:34:33 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ $column_query = tep_db_query('select display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_heading, box_template, box_heading_font_color from ' . TABLE_INFOBOX_CONFIGURATION . ' where template_id = ' . TEMPLATE_ID . ' and infobox_display = "yes" and display_in_column = "left" order by location'); while ($column = tep_db_fetch_array($column_query)) { if ( file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle'])) { define($column['cfgkey'],$column['box_heading']); $infobox_define = $column['box_heading']; $infobox_template = $column['box_template']; $font_color = $column['box_heading_font_color']; $infobox_class = $column['box_template']; require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle']); include(DIR_WS_BOXES . 'coolmenu.php'); } } ?> The installation instructions all said to add the following lines to all your files in the root I belive of your catalog. <!-- coolMenu //--> <?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?> <!-- coolMenu_eof //--> Right after <body>. The problem was, I couldn't find the <body> command in the following files so I didn't edit them. info_shopping.php checkout_process.php fantversion.php download.php popup_image.php redirect.php I also didn't get to add the line <SCRIPT LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT> to those files. I added the code needed in the stylesheet also. When I started checked out my site after I finished everything, it seemed like it was kind of working except that my whole left colomn had disappeard and it gave me some kind of error which said: 1146 - Table 'wholesa_osc1.TABLE_INFOBOX_CONFIGURATION' doesn't exist select display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_heading, box_template, box_heading_font_color from TABLE_INFOBOX_CONFIGURATION where template_id = TEMPLATE_ID and infobox_display = "yes" and display_in_column = "left" order by location [TEP STOP] I'd like to get my left column back if you guys can help me figure out what I need to add or take out. Thanks ALot, ~Craig |
|
#5
| |||
| |||
| Ok, I got this bad boy mostly working, the only problem I have now is that my category box is on the right side and my coolmenu is in the upper left corner. Im going to search around to find out how to position the menu. But if anyone knows how to fix this, feel free to post it for me. Thanks Alot, ~Craig |
|
#6
| |||
| |||
| ok I fixed the position problem but my friend says that when you look at the webpage in different resolutions the menu is in different places. You guys know how to get it to adjust depending on the resolution? ~Craig |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding cool menu and keeping the catorory menu??? | Kyle_Bassett | osCMax v2 Customization/Mods | 0 | 10-18-2005 10:17 AM |
| Cool Menu disappears behind Attrib Drop down box | cacooke | osCMax v2 Customization/Mods | 2 | 08-08-2005 07:53 PM |
| Menu question | bibleman | osCMax v1.7 Discussion | 0 | 06-24-2005 03:30 PM |
| DHTML cool menu problem | leeb | osCommerce 2.2 Modification Help | 0 | 01-13-2005 06:22 PM |
| Problem installing Cool Menu mod | ozone | osCMax v1.7 General Mods Discussion | 2 | 07-08-2004 11:15 AM |