Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Dynamenu" for osCommerce


Recommended Posts

Hello Everyone,

 

I have some problems with the menu when opening on Mac. firefox and IE7 open everything correct but on Mac I'm getting strange results.

I use the vertical fly out menu, but on Mac the menu appears on the lower left corner of the window. Does anybody have a solution for this. I looked for it myself but couldn't find anything wrong....

 

Thanks on advance,

Sven

 

scherm.jpg

Link to comment
Share on other sites

Dunno - could be a browser/mac specific thing... But if the stylesheets were being pulled in, the menus would look more like grey buttons ;)

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Link to comment
Share on other sites

I installed the STS Power Pack and got the dynamenu with it. I do not need this so I would like to know how can I remove the dynamenu so that it is not in the HTML of my pages.

I'm a little confused by your request.

 

For those that use this contribution (Dynamenu) with STSv4 or higher:

You will still need to have both, the PHP include statement (or create a STS tag for this) and the echo statement, inside of your HTML template pages. Also, you will still need the CSS additions that this contribution requires. All of this is mentioned in the STS Power Pack site that you referenced in your post above.

 

What is it that your are trying to remove from your HTML pages? :blink:

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

I'm a little confused by your request.

 

For those that use this contribution (Dynamenu) with STSv4 or higher:

You will still need to have both, the PHP include statement (or create a STS tag for this) and the echo statement, inside of your HTML template pages. Also, you will still need the CSS additions that this contribution requires. All of this is mentioned in the STS Power Pack site that you referenced in your post above.

 

What is it that your are trying to remove from your HTML pages? :blink:

 

If I view the code of my pages I have this listed in the top and bottom; I could be wrong but I thought this was somehow installed with the STS PP

 

<!-- beginning of menu footer - PHP Layers Menu 3.2.0-rc (C) 2001-2004 Marco Pratesi - http://www.marcopratesi.it/ -->



<div id="L1" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="vertsubframe">

<div id="refL2" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_17&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="CDROM Drives"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />CDROM Drives      </a>
</div>
<div id="refL3" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_4&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Graphics Cards"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Graphics Cards (2)      </a>

</div>
<div id="refL4" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_8&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Keyboards"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Keyboards (1)      </a>
</div>
<div id="refL5" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_16&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Memory"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Memory      </a>
</div>
<div id="refL6" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_9&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Mice"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Mice (2)      </a>
</div>
<div id="refL7" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_6&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Monitors"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Monitors      </a>

</div>
<div id="refL8" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_5&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Printers"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Printers (1)      </a>
</div>
<div id="refL9" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=1_7&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L1', true);" title="Speakers"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Speakers      </a>
</div>

</div>
</td>
</tr>
</table>
</div>

<div id="L10" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="vertsubframe">

<div id="refL11" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=2_19&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L10', true);" title="Action"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Action (1)      </a>
</div>
<div id="refL12" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=2_18&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L10', true);" title="Simulation"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Simulation (1)      </a>
</div>
<div id="refL13" class="vertsubitem ">

<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=2_20&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L10', true);" title="Strategy"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Strategy (2)      </a>
</div>

</div>
</td>
</tr>
</table>
</div>

<div id="L14" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="vertsubframe">

<div id="refL15" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_10&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Action"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Action (9)      </a>
</div>
<div id="refL16" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_13&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Cartoons"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Cartoons (1)      </a>
</div>
<div id="refL17" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_12&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Comedy"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Comedy (2)      </a>
</div>
<div id="refL18" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_15&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Drama"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Drama (3)      </a>

</div>
<div id="refL19" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_11&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Science Fiction"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Science Fiction (1)      </a>
</div>
<div id="refL20" class="vertsubitem ">
<a href="http://74.52.36.178/~chineseh//devosc/index.php?cPath=3_14&osCsid=9d760a103473d4ade22eb8615b18110e" onmouseover="LMPopUp('L14', true);" title="Thriller"><img
align="top" src="images/transparent.png" width="1" height="16" border="0"
alt="" />Thriller (1)      </a>
</div>

</div>
</td>
</tr>
</table>
</div>

<script language="JavaScript" type="text/javascript">
<!--
loaded = 1;
// -->
</script>

<!-- end of menu footer - PHP Layers Menu 3.2.0-rc (C) 2001-2004 Marco Pratesi - http://www.marcopratesi.it/ -->
<html>

Link to comment
Share on other sites

OK, how are you adding the dynamenu into your template? Are you using a STS tag for this?

 

NOTE: I posted earlier in this thread a dirty hack (workaround) for a previous bug when using Dynamenu & STSv4.3 -4.5. THIS HACK SHOULD NOT BE USED IF YOU ARE USING STSV4.5.2 AND HIGHER since the bug has since been fixed in version 4.5.2.

 

So...if the HTML you are referring to was inserted by you, then just remove it from your templates. I do not know what to tell you if that is being inserted dynamically somehow. :blink: Neither Dynamenu or STS would dynamically insert that HTML into your STS Template pages.

 

Hope this helped,

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

OK, how are you adding the dynamenu into your template? Are you using a STS tag for this?

 

NOTE: I posted earlier in this thread a dirty hack (workaround) for a previous bug when using Dynamenu & STSv4.3 -4.5. THIS HACK SHOULD NOT BE USED IF YOU ARE USING STSV4.5.2 AND HIGHER since the bug has since been fixed in version 4.5.2.

 

So...if the HTML you are referring to was inserted by you, then just remove it from your templates. I do not know what to tell you if that is being inserted dynamically somehow. :blink: Neither Dynamenu or STS would dynamically insert that HTML into your STS Template pages.

 

Hope this helped,

 

I have not added the menu into the template. Not on purpose. Could these be in the $htmlparams or $headcontent, if so where are those files so I can try and take it out.

 

How this happened is I used an old template that used STS 2.1, I upgraded my cart to the latest version of STS, and moved the contents of the sts_template into the upgraded cart. Now I have those menu in the code. So I am sure it is not STS, just trying to see where I might have accidently added it into the cart so I can remove it.

Link to comment
Share on other sites

I have not added the menu into the template. Not on purpose. Could these be in the $htmlparams or $headcontent, if so where are those files so I can try and take it out.

 

How this happened is I used an old template that used STS 2.1, I upgraded my cart to the latest version of STS, and moved the contents of the sts_template into the upgraded cart. Now I have those menu in the code. So I am sure it is not STS, just trying to see where I might have accidently added it into the cart so I can remove it.

How are you viewing your template? Is this the code you see when viewing your site in the browser (source code)? If this is the case, then the code could be coming from the menu or one of your STS tags, or even from one of the scripts in osC. Turn STS off in the admin and then view your shop to see if you are still getting the code that you do not want. This will rule out your template but will still leave Dynamenu and the osC scripts as possible sources.

 

Without really knowing your template or how your shop is setup, I really can't narrow it down for you. :huh:

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Very nice!

 

Using Horizontal Drop-down is it possible to have a right scroll-bar for very long (200+) sub-category listings (like the manufacturers dropdown)? I have $divide_subcats = 25, and it does keep the menus on the page, but is not too user-friendly.

 

Thank you!

 

Cheers,

EricK

Link to comment
Share on other sites

Using Horizontal Drop-down is it possible to have a right scroll-bar for very long (200+) sub-category listings (like the manufacturers dropdown)? I have $divide_subcats = 25, and it does keep the menus on the page, but is not too user-friendly.

Well, I'd say having 200+ subcategories for a particular category is the "not too user-friendly" part here... I'd think you could prolly get away with having more subcats by tweaking the font size/padding. A scroll bar might be more awkward from a use point of view, but *might* be achievable just assigning standard CSS rules to .horizsubframe or .horizsubmenu - like setting a fixed height and using overflow: scroll; for example...

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Link to comment
Share on other sites

i've been searchign this thread but found no straight forward answer...

 

i've installed STS 4.5.2, as mentioned earlier dynamenu should work but mine doesn't. PS, i didn't download the sts+dynamenu bundle, both contribs were downloaded seperately.

 

anyhowz, my menu REFUSED to appear. been fiddling with the footer code. i've added the dynamenu code after the sts code in footer.php

 

<?php
 }
// START STS 4.1
}
// END STS 4.1

?>

<?php
// Output the footer for Dynamenu for osCommerce
echo $GLOBALS['dmfooter'];
?>

Link to comment
Share on other sites

Hi all,

 

I installed this contri perfect and it was all working correctly.

After this contri I installed the anti robot registration and a live chat module.

 

None of the files that were edited for Dynamenu are changed.

The menu is working, when i change settings in dm_catergories they change, but the fly-out module is gone.

It just works back again as the standard module of oscommerce. Just point, click and sub-catergories show up in the middle of the page. :rolleyes:

 

you can check it out here :

www.radu-shop.nl

 

Who can help to get my menu back ! :blink:

 

rgds

Ramon

Link to comment
Share on other sites

I dunno about those modules, but I can tell you your Dynamenu "footer" is not being output just before your closing <BODY> tag...

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Link to comment
Share on other sites

Well, I'd say having 200+ subcategories for a particular category is the "not too user-friendly" part here... I'd think you could prolly get away with having more subcats by tweaking the font size/padding. A scroll bar might be more awkward from a use point of view, but *might* be achievable just assigning standard CSS rules to .horizsubframe or .horizsubmenu - like setting a fixed height and using overflow: scroll; for example...

 

Thanks Nate, added this to .horizsubmenu and it scrolls beautifully!

height: 100px;

overflow: auto;

 

The only 'quasi-issue' remaining is dynamenu displays behind Ultimate Fade-in slideshow in Safari browsers.

 

Thanks again,

EricK

Link to comment
Share on other sites

The only 'quasi-issue' remaining is dynamenu displays behind Ultimate Fade-in slideshow in Safari browsers.

That is likely a z-index issue... adjust the z-index style of the submenu to be above the slideshow...

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Link to comment
Share on other sites

I just can't get it working...I've changed all files(column_left.php etc.) but everything is the same

Pls help

 

PS: I have a monstertemplate

 

I managed to find what to edit (for me it was header.php and not column_left.php),but still no real progress -> here is a print screen of how it looks now <_<

 

menu

 

As you can see only the top categories are displayed (no subcategories) :blink:

Cumparaturi4all

Link to comment
Share on other sites

It's not complicated really... include the stylesheet for the menu in your OSC stylesheet and echo the DM footer **just before** the closing </BODY> tag. I can tell from the screenshot that you don't have the styles included... You may or may not be outputting the DM footer (submenus would appear at bottom of page)

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Link to comment
Share on other sites

I have to admit that I am absolutly stumped!!!

I can not get this contribution to work. I am trying to install a vertical dropdown menu which I am assuming (probably incorrectly) is the plain vertical menu. Or am I supposed to instal the vertical flyout and alter something.

I am only a beginner at php and I had huge problems understanding what I was supposed to upload (ie:templates).

Would really appreciate some help.

By the way originally had css menu working but really want vertical dropdown.

 

appreciate any guidance

Link to comment
Share on other sites

Ok, im having trouble setting this menu up, it is different from the default one, so i know it shows up, but the problem is that the flyout wont happen, i see the arrow, when i click on it, it works, but thats it, any help would be great.

 

thanks

josh

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...