Guest Posted April 28, 2005 Share Posted April 28, 2005 Please see my page for an example of what's going on. My Safety Equipment Site Drill down a couple of subcats, and watch the old style menu appear behind the coolmenu. Quote Link to comment Share on other sites More sharing options...
nkouts Posted April 28, 2005 Share Posted April 28, 2005 FIREFOX PROBLEM!!!! The coolmenu does not work with mozilla firefox (I use version 1.0.3) Quote Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2005 Share Posted April 28, 2005 I've read through the forum posts and found computerwizz5 had the same problem as me, his post was :- hey all, i have had coolmenu for some time now, but never enabled the cache. When i do the regular menu is present and the coolmenu is floating on top? I searched through all teh pages btu coem to no conclusion. Thanks Danny but it was never answered, so I'm no wiser. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2005 Share Posted April 28, 2005 (edited) I tried turning off cache, but then the category box dissapeared alltogether, but the coolmenu float was still there, displayed over my other infoboxes. I think the problem has something to do with this statement in colum_left. :- if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'coolmenu.php'); } Please Please Please can anyone help me get this problem fixed, as my site looks like junk with this problem. Edited April 28, 2005 by Rochdalemark Quote Link to comment Share on other sites More sharing options...
Guest Posted April 30, 2005 Share Posted April 30, 2005 This may seem silly but I had a similar problem until I actually published the changes in column_left.php onto my site. It stopped the original menu being displayed. Quote Link to comment Share on other sites More sharing options...
badlhby Posted April 30, 2005 Share Posted April 30, 2005 I've read through the forum posts and found computerwizz5 had the same problem as me, his post was :- but it was never answered, so I'm no wiser. <{POST_SNAPBACK}> I may have found your problem. Located in the coolmenu.php in the boxes directory you will find a couple of lines near the bottom: $info_box_contents[] = array('text' => ' <img src="images/trans.gif" width="150" height="' . $height . '">'); The problem is that in front of the <img line a tab is used. This is confusing the remaining code because it isn't designed to remove the tab. Thus you sometimes get an error when executing the javascript. I copied the generated section to an html editor / preview program and got an error every time. All you need to do is go to the end of the first line => ' and delete the carriage return and tab characters. Then save the file. I no longer have the issue you are trying to solve. It works great on mine now. Line should read: $info_box_contents[] = array('text' => '<img src="images/trans.gif" width="150" height="' . $height . '">'); Hope this helps, Bob Quote Link to comment Share on other sites More sharing options...
zero19 Posted May 1, 2005 Share Posted May 1, 2005 (edited) hi everyone hi have a small problem and i want to know if there is a solution to the following problem: the coolmenu on the main page is A OK! but when i go to another page or one of the product pages the pages themselves resizes. is there a way i can stick the cool menu in the categorie box or does anyone know how i can stop this resizing of pages you can see what i mean here: anani.ca hardware store thx in advance :thumbsup: Edited May 1, 2005 by zero19 Quote Link to comment Share on other sites More sharing options...
zero19 Posted May 1, 2005 Share Posted May 1, 2005 forget my last question i got it to work but how do we change the name of the menu. the default name is coolmenu how can i change that to store or hardware .... thx in advance Quote Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2005 Share Posted May 3, 2005 Cheers for that Badlhby, Both menu's do not appear both at once now :) That should be altered in the contribution files. Another problem has now cropped up, I'm using the nojava script addition that the contribution has, and my menu box seems to be at least double the size of my menu, no matter what I set the length to in includes/coolmenu.php for the height size per category. i.e $height.= 2.65*count($categories); The width I can alter no problems. Anyone had this same problem? more importantly, anyone solved this problem? I may have found your problem. Located in the coolmenu.php in the boxes directory you will find a couple of lines near the bottom: $info_box_contents[] = array('text' => ' <img src="images/trans.gif" width="150" height="' . $height . '">'); The problem is that in front of the <img line a tab is used. This is confusing the remaining code because it isn't designed to remove the tab. Thus you sometimes get an error when executing the javascript. I copied the generated section to an html editor / preview program and got an error every time. All you need to do is go to the end of the first line => ' and delete the carriage return and tab characters. Then save the file. I no longer have the issue you are trying to solve. It works great on mine now. Line should read: $info_box_contents[] = array('text' => '<img src="images/trans.gif" width="150" height="' . $height . '">'); Hope this helps, Bob <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2005 Share Posted May 3, 2005 I managed to fix it by inputing the menu size manually in boxes/coolmenu.php $info_box_contents[] = array('text' => '<img src="images/trans.gif" width="118" height="139">'); that solved the problem, but if I add another main category I will have to remember to change that file. Has anyone solved the problem with subcategories dissapearing off the bottom of the screen? I know someone was asking about the submenu's dissapearing off the right of the screen. What I need it to do is either create another menu next to it i.e <br> or have the menu appear at the top of the page each time, rather than from the begining of each selected level. Otherwise my customers are never going to be able to select some areas of my site. :'( Cheers for that Badlhby, Both menu's do not appear both at once now :) That should be altered in the contribution files. Another problem has now cropped up, I'm using the nojava script addition that the contribution has, and my menu box seems to be at least double the size of my menu, no matter what I set the length to in includes/coolmenu.php for the height size per category. i.e $height.= 2.65*count($categories); The width I can alter no problems. Anyone had this same problem? more importantly, anyone solved this problem? <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
kunal247 Posted May 12, 2005 Share Posted May 12, 2005 Can some one guide me how to increase the size of the categories box on the left. I am using the coolmenu contribution, but when this menu is being used it goes over the Manufacturers box on the left. www.247av.com Hope the above link will help you understand what I mean. Can you please help!!! Regards, Kunal Quote Link to comment Share on other sites More sharing options...
kunal247 Posted May 12, 2005 Share Posted May 12, 2005 Can some one guide me how to increase the size of the categories box on the left. I am using the coolmenu contribution, but when this menu is being used it goes over the Manufacturers box on the left. www.247av.com Hope the above link will help you understand what I mean. Can you please help!!! Regards, Kunal <{POST_SNAPBACK}> can this be done in includes/classes/boxes.php ????? if so can some one give me the code for what I have too look for. Would really appreciate your help. Regards, Kunal Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 Hello, Im trying to isntall this this mod and it doesnt show the header that says "Categories" and it is off the screen and doesnt align with the rest of the boxes. Does anyone know how to fix this. Thanks Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 Ok update and a little more information. I think i have found my problem but dont know how to fix it? In the install.txt it says "So, add these 3 lines to every file in your catlog-directory between the <body>-Tag and the including of header.php": <!-- coolMenu //--> <?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?> <!-- coolMenu_eof //--> Problem is i dont hvae <body> tags in the header.php and its a stock header with the exception on the logo being changed. here is what the header.php file shows. ideas on where to put this code? <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <table width="830" height="170" border="0" background="images/lso_full.jpg"> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </tr> </table> <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> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted May 14, 2005 Share Posted May 14, 2005 Ok update and a little more information. I think i have found my problem but dont know how to fix it? In the install.txt it says "So, add these 3 lines to every file in your catlog-directory between the <body>-Tag and the including of header.php": <!-- coolMenu //--> <?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?> <!-- coolMenu_eof //--> Problem is i dont hvae <body> tags in the header.php and its a stock header with the exception on the logo being changed. here is what the header.php file shows. ideas on where to put this code? Thanks <{POST_SNAPBACK}> If you have put the following lines into every file in your catalog folder: <!-- coolMenu //--> <?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?> <!-- coolMenu_eof //--> Then you do not need to put anything into the header.php file. Mark Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 Thanks for the reply that takes care of that. What it doesnt answer is why the box isnt centered with the column and why it doesnt have a header that says categories. Any ideas on why its off the screen like that? Thanks Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 FIREFOX PROBLEM!!!! The coolmenu does not work with mozilla firefox (I use version 1.0.3) <{POST_SNAPBACK}> It works on mine and im using Firefox/1.0.4, but i dont have a box, just the menu. Dont know why ether. Still waiting for a response on how to fix that. Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 UPDATE: Problem solved Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 14, 2005 Share Posted May 14, 2005 I spoke to soon. The problem i seem to behaving now is on some pages it is centered in the box, but on others it isnt. How can i center it in the box with out it changing it on other pages. FYI, i know how to move the it in the coolmenu.php etc. So bascily i just need to know how to center it in the box with out it changing on other pages. Thanks Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 15, 2005 Share Posted May 15, 2005 I think this has to do with running the fixed width mod. Has anyone used this sucessful using the fixed width mod? Also the boxes are slighty different between IE and Firefox. Any ideas on how to fix any of these issues? Thanks Quote Link to comment Share on other sites More sharing options...
zero19 Posted May 15, 2005 Share Posted May 15, 2005 hi everyone i have to simple problems i need help with . 1.how do we change the name of the menu. the default name is coolmenu how can i change that to store or hardware .... 2.the arrows on the far right on shopping cart and reviews are not in place where can i fix the the alignment or position of theses arrows thx in advance Quote Link to comment Share on other sites More sharing options...
kenle Posted May 15, 2005 Share Posted May 15, 2005 I just follow the instruction of coolMenu, it seem pretty straight forward. However, after I done it, my category menu box seem aweful. It seem like it is floating on top of other box. Here is my website link. Can someone take a look and give me the ideas? http://www.minhquocle.com/helirus/index.php Thanks Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 16, 2005 Share Posted May 16, 2005 The installation falls to tell you that you need to install the included boxes.php Then after that you are go to need to edit coolmenu.php to align it on the box correctly. Anyone get this to work with the fix width mod correctly? Quote Link to comment Share on other sites More sharing options...
Butterfly Princess Posted May 16, 2005 Share Posted May 16, 2005 Ok i have removed fixed width template and the menu works great on all pages BUT on he product info page. It doesn stay in the page on this page. Is thier anything i can do to fix this? Thanks Quote Link to comment Share on other sites More sharing options...
randychang Posted May 26, 2005 Share Posted May 26, 2005 hello! I want to add a small picture at the left of every item. Because my english is poor. Somebody can tell me what page is the method on or how to chang the code. Thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.