dpac666 Posted March 27, 2007 Share Posted March 27, 2007 To fix the coolmenu category infobox from hiding part the infobox below it, edit the coolmenu.php file at: catalog/includes/boxes/coolmenu.php Find: $info_box_contents[] = array('text' => ' <img src="images/trans.gif" width="150" height="' . $height . '">'); Edit the height of the infobox by adding one more (") quotation mark and the number of pixels appropriate for your site. Should look similar to this: $info_box_contents[] = array('text' => ' <img src="images/trans.gif" width="150" height="86"' . $height . '">'); Play around with the height until you get what's right for your site. If you add new categories you will have to adjust the hiegt in this file again. Hope that helps. Dpac ^Hello, I've followed the instructions and installed the cool menu on my OS Commerce site. It is quite nice, product categories are correctly scanned and displayed dynamically. Only big issue: The cool menu is hiding part of the banner and part of next Box which is the search Box. Does anyone knows where the problem could come from. Thanks a lot for your help, Greetings Alex Quote Link to comment Share on other sites More sharing options...
bsreinstra Posted March 28, 2007 Share Posted March 28, 2007 I have looked and looked but no one seems to be able to fix the size issue between "categories" and "cool menu"... The problem is that "categories" expands depending on the number of subcategories in the parent category - and cool menu doesn't so..... Has anyone tried this as a fix? 1. Make the Category menu a constant and set height. 2. Then anyone using this can just alter the dimensions of cool menu to make it always fit? I am a newb but it sounds to me like this would work. I don't know where to start with this but if anyone can tell me the code to change to try, I will try it and post to the forum. -Brian Quote Link to comment Share on other sites More sharing options...
discotoast Posted April 4, 2007 Share Posted April 4, 2007 I have installed the cool menu. but I keep getting this error 'makeCM' is undefined which I believe is in the coolmenu.php file. in this line " oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname " was there something I missed?.. the error and site I have it installed on is here http://www.baneki.com/store/ can you help me? Quote Link to comment Share on other sites More sharing options...
jonatas Posted April 6, 2007 Share Posted April 6, 2007 I love the menu but was not paying attention and did not research before installed. It will not work with STS and I don't know enough php to get it to work. :angry: :blush: Has anyone got it to work with STS yet? I would love to keep this menu but want to keep STS also if someone could help would be greatful. Thanks I'm trying to do that. But I'm not an osCommerce nor php expert. If I manage do to it, I'll post it here. Quote Link to comment Share on other sites More sharing options...
isecomputers Posted May 2, 2007 Share Posted May 2, 2007 Hi, I have just installed coolMenu1.2 and everything was great! BUT I have added a width to my pages of 800px from 100% to create a blue border down each side, now this new menu does not fit in with my existing template! http://mt-custom-graphics.com/shop/catalog/ Any help on resolving this would be great! Also I will be looking to remove the 'curve' images on the Categories (left) & Basket (right) so if you have any idea how to do this as well!!! Thanks in advance, Richard Quote Link to comment Share on other sites More sharing options...
isecomputers Posted May 2, 2007 Share Posted May 2, 2007 If you are looking for a fixed position, like the standaard osCommerce menu, and a vertical fly-out menu, I've just contributed CSS Menu v0.1 which wil show you the same sort of menu, which is fully customizable using CSS-properties! There is also a screenshot included in the package. Should I try this?!! Thanks Quote Link to comment Share on other sites More sharing options...
EndGy Posted May 25, 2007 Share Posted May 25, 2007 COOL Contribution!! :) I installed it 2 days ago, I had problems at the beginning, but I found my answers in this theme. I want to ask you how to bold the marked category in CoolMenu, like this : category1 category2 category3 category4 if i look at category3's products? How I can make my Information Box like CoolMenu? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 26, 2007 Share Posted May 26, 2007 Hi all... (quick intro): I'm new here and just finding my way through PHP after spending the past 10 years using Perl I'm trying to setup a local site using this coolmenu as I think it's brill... I have got it all working (with more mods of my own) but when I switch javascript off I get nothing... has anyone else had this or have I removed too much code... I know its hard to explain aand there is no way of me putting it online to show you all but I do remember when I installed coolmenu I had an empty catagories box behind the cool menu... and I think to cure that I removed the call to it in the index, anyone has this problem? many thanks in advance Quote Link to comment Share on other sites More sharing options...
jaberize Posted May 31, 2007 Share Posted May 31, 2007 Hi Guys, Ive searched for several hours but I cant seem to find what I need, Im looking for something very very simple. Most of the drop-down menu's ive seen till now are Categories, Products, etc... what I need is a drop down menu for one of my navigation buttons in oscommerce (I know how that can be done in HTML, but I cant figure it out in PHP) - so a menu similar to the one on top of this page , thus if you put your mouse over 'Community' you would get a list of other links under it. Any help, or redirection to a contribution would be extremely great & I would be grateful Thanks AJ Quote Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2007 Share Posted June 4, 2007 I have managed to cure all my coolmenu problems despite the lack of help... and, I have even managed to combine the cool menu with the image rotator using mouse over commands, I am so impressed with this coolmenu... the only 1 downside to it is it's position control as its cord start from 0,0... If I wanted to centre the shop (which I tried) I run into problems, however... as it is not my shop it can stay full screen. Many thanks to the creators and all who helped produce this mod. Quote Link to comment Share on other sites More sharing options...
jonatansamuelsson Posted June 5, 2007 Share Posted June 5, 2007 Hi osCommerce-Community.What do you think about the coolMenu on http://www.geraeteland.de ? Does it work with all browsers? I need to know this because i want to release a contribution for this menu on oscommerce.com soon but i need to that its bugfree... Greetings &y works great on Mac OS X with latest Firefox and Safari Quote Link to comment Share on other sites More sharing options...
willfoxitsolutions Posted July 7, 2007 Share Posted July 7, 2007 I have installed the CoolMenu 1.2.1 onto my site along with the fixed width, centered contributions but i am having a little problem. I do not know PHP so hopefully this is a really simple problem. I think its the CoolMenu which is the problem as i removed the code for the fixed width and it was the same. The instructions say to insert; <!-- coolMenu //--> <?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?> <!-- coolMenu_eof //--> after the BODY tag and before the includes header.php line which I did apart from 2 or 3 pages where there was no BODY tag... If you need more information i will happily provide. I hope you can help! Will. Quote Link to comment Share on other sites More sharing options...
jeannepo Posted July 12, 2007 Share Posted July 12, 2007 CoolMenu ~ GREAT contribution! I've got one little problem... my boxes (category box) isn't sizing itself correctly. It's the same size as it was before I install the CoolMenu. Any suggestions? ~jp Quote Link to comment Share on other sites More sharing options...
michaelwl Posted July 26, 2007 Share Posted July 26, 2007 I need help, I installed coolMenu. The menu operates correctly but is positioned over my what's new section. To have a look goto http://www.mygoodies.co.za Username: guest Password: 0834528139 Please, any help will really be appreciated. P.S. I'm also using infobox skins manager 2.0 Thanks Quote Link to comment Share on other sites More sharing options...
michaelwl Posted July 26, 2007 Share Posted July 26, 2007 I need help, I installed coolMenu. The menu operates correctly but is positioned over my what's new section. To have a look goto http://www.mygoodies.co.za Username: guest Password: 0834528139 Please, any help will really be appreciated. P.S. I'm also using infobox skins manager 2.0 Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted July 26, 2007 Share Posted July 26, 2007 may seem a daft question but how would one go about linking to an external page, as it all comes from the database I can't see how I would add a custom page to the menu... I can work out how to do it if i append to the end of the create box but not to be in the middle of the menu? shop link1> shop link2> shop link3> ext link1> (other.php) shop link4> shop link5> Quote Link to comment Share on other sites More sharing options...
drudel Posted August 2, 2007 Share Posted August 2, 2007 Hi, I have installed this menu and I am stuck with a problem. I am only new to php and trying hard to get idea's from this forum. Here's my issue: http://www.tempodancewear.com.au/shop The menu doesn't fit too well. Where have I gone wrong? Thanks Quote Link to comment Share on other sites More sharing options...
jrheisey Posted September 12, 2007 Share Posted September 12, 2007 Displaying categories_name with apostrophes in CoolMenus Since an apostrophe is a meaning character in Javascript they must be replaced with the html entity equivalent of ' At line 198 of CoolMenu.php change the lines: // remove blanks $categories[$i]['text'] = substr($categories[$i]['text'], 12*$blank_length); to: // substitute apostrophes with the ' entity $category_text = str_replace("'", "'", $categories[$i]['text']); // remove blanks $categories[$i]['text'] = substr($category_text, 12*$blank_length); I will also add this in a text to the CoolMenus contribution files. J.R. Heisey http://www.druesfinejewelry.com Quote J.R. Heisey Link to comment Share on other sites More sharing options...
jasZ Posted September 13, 2007 Share Posted September 13, 2007 i released my contribution today:http://www.oscommerce.com/community/contributions,1033 Hi! i've followed the steps and install this contribution, but i couldn't see my catagories listing out, but a page error : Line: 159 Char: 40 Error: Expected ')' Code: 0 and the URL is to my index? I wonder if anyone know what's wrong? Thanks. Quote Link to comment Share on other sites More sharing options...
211655 Posted September 13, 2007 Share Posted September 13, 2007 How do i not show the subcategories. Mean only one level down. So if i have category and a top menu called books, i wanna show only ctageories in the books category, not the next tree structure... 2 level tree only Quote 211655 SEO Optimization Export Orders into CSV file Link to comment Share on other sites More sharing options...
jrheisey Posted September 16, 2007 Share Posted September 16, 2007 You need to do a little extra checking. However I'm pretty sure that one or more of you category names contains letters that need special attention. See my previous post on apostrophes. - Use IE and try to view you osCommerce site. - Note down the line number and Char number of the error. - Close the error window that you described. - In IE select the menu item View / Source. Notepad will open and you will see the resulting html that the osCommerce PHP code generates. - Select View / Status bar to see the line number where the cursor is located at the bottom of Notepad. - Scroll down until you are on the line number causing the error. - You should see the line starte with oCMenu.makeMenu( - The third single quoted parameter after oCMenu.makeMenu( is your category name with the offending character. - The Char number you jotted down is the position from the left on that line where the offending character is located. - If you have an apostrophe in you category name see my previous post for the solution. - Other characters may cause such an error in Javascript. If you cannot identify the character post offending line to this forum. JR Hi! i've followed the steps and install this contribution, but i couldn't see my catagories listing out, but a page error :Line: 159 Char: 40 Error: Expected ')' Code: 0 and the URL is to my index? I wonder if anyone know what's wrong? Thanks. Quote J.R. Heisey Link to comment Share on other sites More sharing options...
jasZ Posted September 18, 2007 Share Posted September 18, 2007 You need to do a little extra checking. However I'm pretty sure that one or more of you category names contains letters that need special attention. See my previous post on apostrophes. - Use IE and try to view you osCommerce site. - Note down the line number and Char number of the error. - Close the error window that you described. - In IE select the menu item View / Source. Notepad will open and you will see the resulting html that the osCommerce PHP code generates. - Select View / Status bar to see the line number where the cursor is located at the bottom of Notepad. - Scroll down until you are on the line number causing the error. - You should see the line starte with oCMenu.makeMenu( - The third single quoted parameter after oCMenu.makeMenu( is your category name with the offending character. - The Char number you jotted down is the position from the left on that line where the offending character is located. - If you have an apostrophe in you category name see my previous post for the solution. - Other characters may cause such an error in Javascript. If you cannot identify the character post offending line to this forum. JR THANK YOU SO MUCH!!! :thumbsup: Quote Link to comment Share on other sites More sharing options...
vdonchev Posted September 25, 2007 Share Posted September 25, 2007 Hello. I have similar problem like the others but I didn't find the answer how to repair. My menu is hiding in his back the original content of oscommerce. please check: http://teratech.ru . Please tell me how to repair. I did everything in the instructions well, also I made every improvement written in the forum. Quote Link to comment Share on other sites More sharing options...
pure11 Posted November 4, 2007 Share Posted November 4, 2007 hi, see picture, why is it doing this and how can i fix please? :'( i have latest oscommerce installed and i overwrote the box file with the included file and did all edits on all catalogue files thank you Quote Link to comment Share on other sites More sharing options...
DejaVu Posted November 4, 2007 Share Posted November 4, 2007 If your looking at the spacing thing. It's a setting in the CSS you uploaded. Post the CSS edit here and I'll take a look at making it smaller or not aligning to the top. 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.