Jump to content
Sign in to follow this  
nate_02631

"Dynamenu" for osCommerce

Recommended Posts

thanks bill, just been to your site, nice work with all your sts downloads.

 

seems i was using infobox templates for the Information box. essentially i was trying to get rid of the box but be left with the contents like so:

 

Shipping & Returns | Privacy Notice | Conditions of Use | Contact Us

 

displaying in the footer of the page. is there a way to cut out the contents of this box and simply ad it to the index.php file?

Share this post


Link to post
Share on other sites
thanks bill, just been to your site, nice work with all your sts downloads.

 

seems i was using infobox templates for the Information box. essentially i was trying to get rid of the box but be left with the contents like so:

 

Shipping & Returns | Privacy Notice | Conditions of Use | Contact Us

 

displaying in the footer of the page. is there a way to cut out the contents of this box and simply ad it to the index.php file?

Yes, there is but I have not done it. Try removing the 'box' from the $sts->stop_capture(...) call. It may or may not work. Let us know. ;)

Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites

Hi, i was wondering...

 

Was my question not formulated right? I have to excuse my bad english tho...

 

Can someone pls take a look at my previeus question? ( http://forums.oscommerce.com/index.php?s=&...t&p=1047960 )

 

 

Thanks a lot.

Edited by Darklings

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Share this post


Link to post
Share on other sites
Ok - I have a strange one happening and I've not had any success searching the forums for a fix.

 

If you are viewing the site in IE and you minimize your browser window, or just change the size of the browser window, the Dynamenu links disappear. The box they are in is there - but there is no text. You have to refresh the page to get it back :blink:

 

Any ideas on this one?

 

Just a bump in case someone might have a thought on what would cause or fix this ;)


~Tracy
 

Share this post


Link to post
Share on other sites

vertical fly isnt working for me.. below is my footer..

 

can anyone pls assist to why it is not.. i do not have STS contrib..

 

<?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require(DIR_WS_INCLUDES . 'counter.php');

?>

	 </td></tr>
	</table>
	<table cellspacing=0 cellpadding=0>
	 <tr><td height=7 colspan=6></td></tr>
	 <tr><td height=4 bgcolor=#B3B3B3 width=674 colspan=6></td></tr>
	 <tr><td height=7 colspan=6></td></tr>
	 <tr><td width=33></td>
		 <td><img src=images/m26.jpg width=230 height=42></td>
		 <td width=33></td>
		 <td><img src=images/m24.gif width=1 height=59></td>
		 <td width=13></td>
		 <td width=541>
		  <table cellspacing=0 cellpadding=0>
		   <tr><td height=15></td></tr>
		   <tr><td><a href=<?=tep_href_link('index.php')?> class=ml>Home</a>  <img src=images/m25.gif width=1 height=11 align=absmiddle>  <a href=<?=tep_href_link('account.php')?> class=ml>My account</a>  <img src=images/m25.gif width=1 height=11 align=absmiddle>  <a href=<?=tep_href_link('products_new.php')?> class=ml>New products</a>  <img src=images/m25.gif width=1 height=11 align=absmiddle>  <a href=<?=tep_href_link('shopping_cart.php')?> class=ml>Shopping cart</a>  <img src=images/m25.gif width=1 height=11 align=absmiddle>  <a href=<?=tep_href_link('checkout_shipping.php')?> class=ml>Checkout</a>  </td></tr>
		   <tr><td height=10></td></tr>
		  <tr><td class="copyright"><b>Powered By <a href="http://www.moderatelypassionate.com/">Moderately Passionate Productions</a> <b>| <a class="copyright" href="mailto:contact@moderatelypassionate.com">Contact Us</a><br><a href=<?=tep_href_link('privacy.php')?>class="copyright">Privacy Policy</a> | Copyright © 2007 </td></tr>
		   <tr><td height=30></td></tr>
		  </table>  
	 </td></tr>
	</table>
  </td></tr>
 </table>






<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<br>
<?php

	// Output the footer for Dynamenu for osCommerce
echo $GLOBALS['dmfooter'];


 }

?>

Share this post


Link to post
Share on other sites

Hi All !

 

I've been testing a lot with category tree menus lately as it happens that I just love the look of that menu, fantastic contribution thoe !

 

I just can't find minor glitch ... The first category doesn't expand if you click on a category description ! It only expands if you click on a folder icon or + sign ...

I could easily go around that with first category without subcategories, but .... don't wona ... :-"

 

Bellow is my test site, so you could check it out ...

http://www.delko.si/adapta/sql/commerce/ca...php?language=en

 

Thanks for your help !

 

Gregor

Share this post


Link to post
Share on other sites

Hi everybody,

 

I have seen a lot of menus that all you people made and its really good to see how many people takes their time to make things better, faster and looking great ! :thumbsup:

I was wondering if anyone could tell me how and where can I find menu like on this page ciuly.store.ro ?

Thnx in advance !!!

Edited by adotnt

Share this post


Link to post
Share on other sites
Hi everybody,

 

I have seen a lot of menus that all you people made and its really good to see how many people takes their time to make things better, faster and looking great ! :thumbsup:

I was wondering if anyone could tell me how and where can I find menu like on this page ciuly.store.ro ?

Thnx in advance !!!

 

 

Hi,

 

Dyna menu is exactly what u r looking for I suppose. There are 4 different menus to choose from in the package and you can set the desired colors in css file, very easy to install ....

Suhy

Share this post


Link to post
Share on other sites
Hi All !

 

I've been testing a lot with category tree menus lately as it happens that I just love the look of that menu, fantastic contribution thoe !

 

I just can't find minor glitch ... The first category doesn't expand if you click on a category description ! It only expands if you click on a folder icon or + sign ...

I could easily go around that with first category without subcategories, but .... don't wona ... :-"

 

Bellow is my test site, so you could check it out ...

http://www.delko.si/adapta/sql/commerce/ca...php?language=en

 

Thanks for your help !

 

Gregor

 

I also found out if using tree menu the first category with subcats don't work properly. Even if you place on the top a cetegori with no subcat, the first category with subcat in the tree menu will not work properly. Please advise if you have some fix for this glitch Nate before we try some tricks to go around that ...

 

Thanks !

Share this post


Link to post
Share on other sites

Hi Nate!

I'll try to read all 18 pages in this support thread, but I hade a big headache >_<

I've a simple (maybe too simple) request... I'm using the type 1 menu (can you see it in my site at www.packagingonline.it yeah!) but I don't need the submenu for the selected category (the arrow is right, instead...). There's a way to deactivate it?

 

Sorry for my italian-style english :lol:

 

Giuseppe

Share this post


Link to post
Share on other sites
Hi Nate!

I'll try to read all 18 pages in this support thread, but I hade a big headache >_<

I've a simple (maybe too simple) request... I'm using the type 1 menu (can you see it in my site at www.packagingonline.it yeah!) but I don't need the submenu for the selected category (the arrow is right, instead...). There's a way to deactivate it?

 

Sorry for my italian-style english :lol:

 

Giuseppe

 

Hi Noy,

 

You can delete it in a code, but since it's quite a code and if u r not too skilled you can always use a hack ... Find the image that is appearing on your menu and replace it with image same color as your background (you can use just a dot). But as I can see u are using submenus, so removing the ponter is not the best idea by my opinion ...

 

 

 

regards,

Suhy

Share this post


Link to post
Share on other sites
You can delete it in a code, but since it's quite a code and if u r not too skilled you can always use a hack ... Find the image that is appearing on your menu and replace it with image same color as your background (you can use just a dot). But as I can see u are using submenus, so removing the ponter is not the best idea by my opinion ...

Hi Suhy :rolleyes:

The arrow isn't a trouble, I can leave it in the menu, but I don't want the submenues to appear!! :'(

Share this post


Link to post
Share on other sites

hello all,

 

I have synamenu install but it clash with a lots of other contrib, like wishlist

this is what I get if I enable both contribution

 

Fatal error: Cannot redeclare tep_make_cat_dmlist() (previously declared in

 

any idea what is going on ?

Share this post


Link to post
Share on other sites

edit - just needed to change my category name...

Edited by ceddy

Share this post


Link to post
Share on other sites

ive noticed, on my site anyway, that my fly-out meny (from left) is behind other < div > 's when viewing with FireFox.

Only page I see it happening is on my product_info pages

 

Is there a way to make the menu always on top?

Share this post


Link to post
Share on other sites
Is there a way to make the menu always on top?

Try updating the CSS of submenu container (.vertsubframe) to include a "z-index: n;" - where n is a higher index layer # that the divs (or just a high number like 999)


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

Share this post


Link to post
Share on other sites

Thank You!

Great work Nate. Installation was a snap!

 

Question:

Is there a way to configure ( or point me to code to hack) such that when you click on a heading which has sub-categories, it simply opens or closes the category and doesn't go to a page (which gives you the same sub-category choices on it). The click simply toggles the category open and closed (same as if you clicked on the + or - icon). So only leaf nodes open a new page when the link is clicked on, folder nodes simply open or close the folder without a page request.

 

For example if you go to
and click on "hardware" it opens a new page showing categories of hardware and new products for hardware. I'd like the Dynamenu version to stay on the home page when you click on hardware and simply toggle open to show the sub-categories of hardware in the categories sidebox.

 

My apologies if this has already been discussed. I skimmed prior posts quickly but didn't hit on anything relevant.

 

Gord.

 

My config if you are interested:

$menu_type = 2;

$show_dmcats_as_box = true;

$menu_use_titles = true;

$menu_icon_file = '';

$menu_icon_width = 16;

$menu_icon_height = 16;

$menu_fwdarrowimg = 'forward-arrow.png';

$menu_downarrowimg = 'down-arrow.png';

$show_full_tree = true;

$menu_tree_current_path = true;

$menu_layer_offset = array (0,4,4);

$GLOBALS['dm_tree_folder_icons'] = false;

$after_nobox_html = '';

$divide_subcats = 0;

$divide_subcats_text = 'more...';

Share this post


Link to post
Share on other sites

Thanks for providing this great script and support forum.

 

I have one question though. I'm using the plain menu and would like to have the subcategories in a smaller font size than the main categories. I've browsed through the php code but since I'm not an expert I couldn't find a way to stick in some html between the subcats.

 

Love to hear a solution. Thanks in advance.

Share this post


Link to post
Share on other sites

No one has responded yet...

 

I know in dm_categories.php there is an array for the target (which determined the css class) variable. This makes the selected category bold. Would it be possible to write an array that assigns a different class to a subcategory?

 

I hope someone can help!

Edited by timvdweide

Share this post


Link to post
Share on other sites
Matthew,

Unfortunately, this is a known bug between STSv4.3 and above with Dynamenu. If you do not use the infobox templates from STSv4.3 and 4.4, then the flyouts will work with no issues.

We are still working on this trying to find a solid solution. I have a workaround on a test site (http://www.soundsgoodpro.com/dynamenu/) but it still needs tweaking in order for it to work in every situation so I have not posted a solution 'for the masses' yet. :(

Hopefully we will get the infobox templates and Dynamenu working together soon. If anyone else has figured this out it sure would be appreciated!!! :- :thumbsup: :lol:

 

Has anyone tried this with sts4.5? just beginning to plug all the bits together this evening (but on the other hand eurovision in on tonight :-) ) for a test upload to the server i will let you know the outcome in the next couple of days.

 

http://forums.oscommerce.com/index.php?sho...enu&st=320#

 

does this solution above work for you bill? if so i will give it a go to.

 

many thanks all...

 

Matthew Ritchie - www.bluegreentechnologies.com - osc + reg globals - comming soon - sts4.5 & dynamenu & htc & multi shops

good suggestions to other contributions welcome

Share this post


Link to post
Share on other sites
Has anyone tried this with sts4.5? just beginning to plug all the bits together this evening (but on the other hand eurovision in on tonight :-) ) for a test upload to the server i will let you know the outcome in the next couple of days.

I don't know anything about the STS mod, but I can tell you the only reasons Dynamenu submenus would not work correctly is:

1. The DM "footer" is not being output *just before* the closing body tag (contains the hidden DIV submenus)

2. Their is an "event handler" Javascript conflict with Dynamenu with the onLoad event which of course can be remedied by combining the functions called via onLoad

3. Dynamenu CSS is not included in your store CSS


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

Share this post


Link to post
Share on other sites
I don't know anything about the STS mod, but I can tell you the only reasons Dynamenu submenus would not work correctly is:

1. The DM "footer" is not being output *just before* the closing body tag (contains the hidden DIV submenus)

2. Their is an "event handler" Javascript conflict with Dynamenu with the onLoad event which of course can be remedied by combining the functions called via onLoad

3. Dynamenu CSS is not included in your store CSS

Dynamenu works flawlessly with STSv4.5.2, which includes the fixes in the infobox templates portion of STS that caused the flyouts to not work properly in earlier versions of STS.

 

Has anyone tried this with sts4.5? just beginning to plug all the bits together this evening (but on the other hand eurovision in on tonight :-) ) for a test upload to the server i will let you know the outcome in the next couple of days.

If you are using STSv4.5, you should update to 4.5.2 since the two sevice packs are actually critical upates to the mod.

http://forums.oscommerce.com/index.php?sho...enu&st=320#

 

does this solution above work for you bill? if so i will give it a go to.

Yes, it will work if you are using the latest version of STS (4.5.2). If using STSv4.3, 4.4 or 4.5, the flyouts will not work because of errant code that deals with the infobox templates. If you do not use infobox templates in those specific versions (can be turned off in the admin), then yes, the solution mentioned above will work with those versions as well. I still suggest upgrading to 4.5.2 (very easy update).

Hope this has helped,


Bill Kellum

 

Sounds Good Productions

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

Share this post


Link to post
Share on other sites
Dynamenu works flawlessly with STSv4.5.2, which includes the fixes in the infobox templates portion of STS that caused the flyouts to not work properly in earlier versions of STS.

If you are using STSv4.5, you should update to 4.5.2 since the two sevice packs are actually critical upates to the mod.

 

Yes, it will work if you are using the latest version of STS (4.5.2). If using STSv4.3, 4.4 or 4.5, the flyouts will not work because of errant code that deals with the infobox templates. If you do not use infobox templates in those specific versions (can be turned off in the admin), then yes, the solution mentioned above will work with those versions as well. I still suggest upgrading to 4.5.2 (very easy update).

Hope this has helped,

 

Thanks Bill, working here with 4.5.2 all ok..... except, when entering the shop, the page pauses for upto 3-5 seconds with the dynamenu output (text) only. then the rest of the page loads over the top. see if this happens when you view it....

 

<a href="http://www.bluegreentechnologies.com/shop/index.php" Target=_blank>shop</a>

just checked - this link doesnt seem to work - how do you post links without seeing the html?

 

----------------------------------------------

 

I would also like to have two menus. one for the shop catagories and one pointing to 'how to' Info Pages. Any Clues or links to suggestions. or if dynamenu scripter (i believe .. Nate) can suggest how to separate dynamenu from osc and simply hard code catagory headings that are seo safe.

 

-----------------------------------------------

 

sorry.... couple of things there to bat arround, Many Thanks Matthew.

 

Ps I now have a full update folder for osc that loads Regvariables, stsv4.5.2 and dynamenu alltogether in one install over a clean new osc, if anyone is interested. However i would like to add more to it so suggestions welcome. thinking of multishops next...

matt.

Edited by MatthewRitchie

Share this post


Link to post
Share on other sites

I would like to answer one of my questions partially for those who do not know the origins of dynamenu. below are a couple of links that should help people with dynamenu, and hopefully me too.

 

----------------------------------------------

I would also like to have two menus. one for the shop catagories and one pointing to 'how to' Info Pages. Any Clues or links to suggestions. or if dynamenu scripter (i believe .. Nate) can suggest how to separate dynamenu from osc and simply hard code catagory headings that are seo safe.

-----------------------------------------------

 

i wont do a load of links to all the menu types because cihp chapman below does a fantastic job, see:

 

<cutnpastelinks>

 

http://www.chipchapin.com/WebTools/MenuTools/

Local Demo: phplayersmenu-2.2.0/ --> http://www.chipchapin.com/WebTools/MenuToo...yersmenu-2.2.0/

Home: https://sourceforge.net/projects/phplayersmenu/ see also http://phplayersmenu.sourceforge.net/

 

http://www.natewelch.com/modules.php?op=mo...cle&artid=2

 

http://www.postnuke.com/

http://community.postnuke.com/index.htm

 

Hope these help. appologies if several more brain cells explode die from information overload.

 

matt

edit... OK now i know how to do the links. 2nd question answered! Ans --> dont wrap html arround them!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Edited by MatthewRitchie

Share this post


Link to post
Share on other sites

Is there a way to write and call the javascript to an external js file?

 

I have over 200+ categories and subcategories, which creates a seo txt link... which is great for search engines to crawl except its pretty much a big no no to have to many links.

 

or maybe there is another method that will do the same?

 

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×