Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

coolMenu


Keyser Soze

Recommended Posts

Hi,

 

I have installed the coolmenu. It works great!!! But I have one problem with it.

 

If I click on "my account" or something else on the page that does not have to do with coolmenu anything ---- I see that the coolmenu was shifted some mm upward and some mm to the left. What can go wrong here?

 

thanks in advance

Link to comment
Share on other sites

  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

I have installed the coolmenu. It works great!!! But I have one problem with it.

 

If I click on "my account" or something else on the page that  does not have to do with coolmenu anything ---- I see that the coolmenu was shifted some mm upward and some mm to the left. What can go wrong here?

 

thanks in advance

Here are some screenshots:

 

1.jpg

 

2.jpg

Link to comment
Share on other sites

Hi,

 

I have installed the coolmenu. It works great!!! But I have one problem with it.

 

If I click on "my account" or something else on the page that? does not have to do with coolmenu anything ---- I see that the coolmenu was shifted some mm upward and some mm to the left. What can go wrong here?

 

thanks in advance

Here are some screenshots:

 

1.jpg

 

2.jpg

The cell spacing or padding in your index.php of account.php are not the same

 

check it out

Link to comment
Share on other sites

Hi all

 

I have just realiesed that come files give this errors

 

Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\shop\includes\application_top.php:518) in c:\program files\easyphp\www\shop\includes\functions\general.php on line 29

 

Other have had the same error but no answers

 

Thanks

Link to comment
Share on other sites

*bump*

 

How is coolmenu with thousands of products in categories...does it slow browsing down? Does it query each time it loads? I've installed it successfully, and have 500 products categorized. However I hesitate in going forward with indexing 500 more products if it is going to slow it down...I'll develop another workaround.

 

Does anyone know? Thanks in advance.

Link to comment
Share on other sites

Hi all again,

 

I have just realised that there is a little problem with the menu position using the center shop contribution and the shop only wide 760

 

I have installed the coolMenu using a 15 inches monitor and adjsting the

OCMenu. fromLeft = 19 WORKS FINE

 

but in a 17 inches Monitor CENTER SHOP WIDE 760. the menu if far too on the left.

so:

I adjust the OCMenu.fromLeft = 132 WORKS PERFET

BUT making the window smaller the MENU GO OUT OF RANGE....

 

MY QUESTIO IS.. How can be made the coolMemu Menu dynamic. that can move with the size of the window?

 

Thanks

 

PS: I still that the ERROR mentioned above... has anyone come out with an answer?

Link to comment
Share on other sites

Hi all,

 

Just an update on this coolMenu...

I havn't been able to make it work 100%. as much as everybody here say and love it.....

 

I have installed MV Menu. nice and easy SO FAR NO PROBLEM..

on MS2

Link to comment
Share on other sites

  • 2 weeks later...

I installed this menu and tried the one from John Guerra too, but I found the same problem with the two: that is, when going to a page where scrolling fields are (such as categories/manufacturers scrolling boxes in advanced search), these ones cover completely the sub-menus. My setup is a dhtml vertical menu with submenus. John Guerra told me I should check for "Z Order": I read something about it, but anyway, I didn't fix the problem. Any ideas?

Link to comment
Share on other sites

Congratulations by this great contribution. I have one doubts: it is possible to cause that the contribution of coolmenu with sts works?, I have not obtained it. It leaves box of coolmenu but empty , some idea ?

sts works fine.

thx

 

someboy it happens the same? please help

 

sorry for my english

Link to comment
Share on other sites

  • 2 weeks later...

Many of us has problem with the changes of TB that simplify the installation of cool menu and also not alow to the menu appearing on the page in mid-air before the rest of the page is loaded.

 

I don't know if can help to find a solution but I have notice that in my local installation on my laptop (WIN XP , apache 1.3.27 , php 4.3.1 ) the changes work ok but when I upload to the web the same files (UNIX apache 1.3.28 , php 4.3.3 ) I have the well known error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/musicora/public_html/catalog/includes/application_top.php:508) in /home/musicora/public_html/catalog/includes/functions/general.php on line 29

 

I open and save the application_top.php as UNix type but nothing happen.

Link to comment
Share on other sites

I?m using IE 6 running over Win 98 and curiosly I see anything than a "normal" cathegories box on your www.geraeteland.de site; in the U.K. guy site I can see pretty well functioning his cool menu -that floats over the central content page-

i.e. his scripts works on my browser but yours not; however both sites are very cool!! Why i can see only his????

Greettings

Link to comment
Share on other sites

Many of us has problem with the changes of TB that simplify the installation of cool menu and also not alow to the menu appearing on the page in mid-air before the rest of the page is loaded.

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/musicora/public_html/catalog/includes/application_top.php:508) in /home/musicora/public_html/catalog/includes/functions/general.php on line 29

 

I open and save the application_top.php as UNix type but nothing happen.

when I move the

<script LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>

 

from application_top.php to the header.php then I have no problem when I go to account end the error message dissapear.

Link to comment
Share on other sites

I think I shall try to install the coolmenu myself. It looks interesting.

 

I have been reading some of the postings and see that more people are having trouble with header allready sent. So therefore this suggestion, I don't know if it helps in all cases

 

set 'output_buffering = On' (or a value) in the php.ini file

Link to comment
Share on other sites

  • 2 weeks later...

Aloha!

I'm hoping someone can offer me a little guidance here. I installed coolmenu some time ago, but I have modified quite a bit. I wanted the navigation to link to pages outside of the typical products pages in the shopping cart, so I used direct links

echo "oCMenu.makeMenu
('top_4','','Portrait of the Subconscious','http://alphabetangel.com/oscom/catalog/portrait_subconscious.php')\n";

 

My problem is that now, when things are placed in the shopping cart, they don't stay there. I was told I need sessionid.

 

Can someone tell me what I should add to these links so things remain in the cart?

 

THANKS!

Link to comment
Share on other sites

Just one complaint.

The height of the Categories box does not adjust visibly with the number of categories.

My guess here is that it does increase its height, it's just that the increase in size by plain text is lest than the increase of the padding of the cells of the coolmenu, causing the coolmenu to overlap the box below it.

Also, if I click on a category with a subcategory, the categories box extends beyond the bottom of the coolmenu. This is because the subcategory is placed below the text, eg:

Category

----->Subcategory

Would it be possible to code it so that the height of the categories box is

(amount*count($categories))+(vertical_coolmenu_cell_spacing*(count($categories))

 

If so, where would I put this? In the coolmenu.php I tried changing "$height.= 2.65*count($categories);" to all different numbers which seemed to have no effect whatsoever on the height of anything.

Also, there would need to be something to compensate for the size change of the Categories box when a subcategory is displayed.

 

Here's my site so you can get an idea of what I mean:

http://www.plezuretoyz.com/oscommerce-2.2ms2/catalog/

(I added a test folder so you can see how it shifts with a subcategory)

Link to comment
Share on other sites

:D These are quotes from quite a few pages back - but I dont quite understand how to solve the problem:::::

 

My categories are being displayed at the top of the page and pushing the rest of the HTML down. So, i get this big blank white space at the top with my menu items left justified. Then below the categories is all the HTML. Additionally when I mouse over a menu item, the subcategories display under the parents categories, not to the left of them.
The reason for that usually is that coolmenu can't find the sylesheet. (As described a page or two back  ) You have to find out why this is the case.

 

My wild guess: maybe your shop is not using the original css file due to some theme or template thingy or something, but you copied the coolmenu styles to the original one, as instructed ->Problem. 

hey Nils,

 

that was exactly it!! thank you!

i installed the thema contribution, so my stylesheet wasn't the one that came ootb.

 

thanks for your response.

 

So, you can sort out the stylesheet problem when you have a template system in place. HOW????? I'm probably being thick, but have tried every variation I can think of and am still stumped. Hopefully one of you lovely people can point out the error of my ways as at the minute I have a lovely big panel saying coolmenu, but no menu....

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Link to comment
Share on other sites

I am also trying to construct at site wiht OSC and coolmenu.

I have a COOLMENU solution to centered pages. It may solve the problem, that the menu alters alignment ,e.g. when you rezise the browser window.

I linked a <div> tag to a picture (e.g. the trans.gif) in one of the boxes. Then I used the trick of finding the position of the <div> in the collmenu script.

And so the menu always stays in the box.

It works with IE and Nestscape, I don't know about other browsers.

Link to comment
Share on other sites

  • 2 weeks later...

Someone mailed me and asked how to get the coolmenu fit in a box.

Well this is what I have done - but forget about Opera 6 and 7. I this has to work in those browsers everything has to be rebuild without all those tables within tables.

 

I changed 3 files

1: /catalog/includes/coolmenu.php

2: /catalog/includes/footer.php

3: /catalog/includes/boxes/coolmenu.php

 

1: in /catalog/includes/coolmenu.php

put this code after the <script> tag

//Extra code to find position:

function findPos(){

if(bw.ns4){ //Netscape 4

x = document.layers.tlayerm.pageX

y = document.layers.tlayerm.pageY

}else{ //other browsers

x=0; y=0; var el,temp

el = bw.ie4?document.all["topm"]:document.getElementById("topm");

if(el.offsetParent){

temp = el

while(temp.offsetParent){ //Looping parent elements to get the offset of them as well

temp=temp.offsetParent;

x+=temp.offsetLeft

y+=temp.offsetTop

}

}

x+=el.offsetLeft

y+=el.offsetTop

}

//Returning the x and y as an array

return [x,y]

}

 

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

pos = findPos()

//Menu properties

oCMenu.pxBetween=0

//exmperiment with fromleft and fromtop - I use -5 and -7 but you can try something different and place the menu anywhere on the page

oCMenu.fromLeft=pos[0]-5

oCMenu.fromTop=pos[1]-7

oCMenu.onresize="location.reload()"

oCMenu.rows=0

 

2: in /catalog/includes/footer.php at the bottom

replace this code

<tr><td height="150"> </td></tr></table><?php

with this code

<tr><td height="150"> </td></tr></table><!-- coolMenu //--><?php require(DIR_WS_INCLUDES . 'coolmenu.php'); ?><!-- coolMenu_eof //--><?php

 

or else place the 'require coolmenu.php' in every single file under /catalog/ just befor the </body> tag (which takes a bit longer). I must not exist elsewhere in the files.

 

3: in /catalog/includes/boxes/coolmenu.php

replace this code

$info_box_contents[] = array('text' => '<img src="images/trans.gif" width="150" height="' . $height . '">');

with this code

//the code below ajusts the height of the picture dynamically

$result=tep_db_query("select parent_id from " . TABLE_CATEGORIES . " where parent_id = '0'");

$height.= 10*mysql_num_rows($result);//experiment with the multiplyer denpending on the size of your menu - I use 10*

 

$info_box_contents[] = array('text' => '<td><ilayer id="tlayerm"><div id="topm"><img src="images/trans.gif" width="150" height="' . $height . '"></div></ilayer></td>');

Link to comment
Share on other sites

First of all, congratulations to the developer of this fantastic COOLMENU contribution.

I've just installed successfully but when I install STS 1.8, I've bad results, simply COOLMENU disappear. You can found the STS 1.8 at this link:

http://www.oscommerce.com/community/contributions,1524

Someone have a solution for this problem?

Thanks to all.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...