galey1981 Posted May 3, 2009 Share Posted May 3, 2009 I must add this lack of styling is only in firefox, in i.e. the secure https pages retain my dynamenu styling and flyout menus....... so i've localised it to this browser. Any thoughts? Quote Link to comment Share on other sites More sharing options...
galey1981 Posted May 3, 2009 Share Posted May 3, 2009 I must add this lack of styling is only in firefox, in i.e. the secure https pages retain my dynamenu styling and flyout menus....... so i've localised it to this browser. Any thoughts? This is fixed by moving the <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> inside the closing <body> tag..... fixed. now i'm happy. Quote Link to comment Share on other sites More sharing options...
galey1981 Posted May 3, 2009 Share Posted May 3, 2009 This is fixed by moving the <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> inside the closing <body> tag..... fixed. now i'm happy. Right, i fixed my own problem first time. Here's my next issue guys. If i use this $show_dmcats_as_box = true; The vertical flyouts will work brilliantly - if i change it to false so it's not inside a box the flyouts will stop working. Can anyone suggest why it may be happening like this? Is it something to do with STS. Quote Link to comment Share on other sites More sharing options...
bkellum Posted May 3, 2009 Share Posted May 3, 2009 Right, i fixed my own problem first time. Here's my next issue guys. If i use this $show_dmcats_as_box = true; The vertical flyouts will work brilliantly - if i change it to false so it's not inside a box the flyouts will stop working. Can anyone suggest why it may be happening like this? Is it something to do with STS. STS works perfectly with this contribution. See my tips in the STS Power Pack site for more details (site for STS add-ons). Quote 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 More sharing options...
galey1981 Posted May 3, 2009 Share Posted May 3, 2009 STS works perfectly with this contribution. See my tips in the STS Power Pack site for more details (site for STS add-ons). Hey there - thanks for the heads up. I think i've done all the requirements to the letter and I get it all working fine - the only issue I am facing is when i go into the file called dm_categories and I change the value $show_dmcats_as_box = true; to $show_dmcats_as_box = false; Then the vertical fly outs stop working. When i change it back to true they work again. I'm okay having it contained within the box with the header and all, but it would be nice so the categories are on their own without the box around them. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2009 Share Posted May 4, 2009 Ok I followed the instructions to install this add-on. I am using STS I have a question on something. I have made my own index page and am a little confused do I place this at the top of the left column <?php include(DIR_WS_BOXES . 'dm_categories.php'); ?> along with $categorybox. I have also made this change Open /includes/modules/sts_inc/sts_column_left.php Find: // Get categories box from db or cache if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } Change to: // Get categories box from db or cache if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'dm_categories.php'); When I do that I still get my text list showing. I have done the configureeation and celected the drop down menua and what I wanted. if I place, <?php include(DIR_WS_BOXES . 'dm_categories.php'); ?> I get this error message,,,, Fatal error: Call to a member function image() on a non-object in C:\xampp\htdocs\oscommerce\catalog\includes\functions\html_output.php on line 78 Anyone have any idea what may be wrong. Pat Quote Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2009 Share Posted May 4, 2009 Ok Thanks to Bills wonderful instructions I was able to get it sort of working. I have done my configuration stuff but still dont get a drop down menu. I have 4 categories all list one under the other. I have also started receiving this error message if i dont comment this line out //$navigation->add_current_page(); error message Fatal error: Call to a member function add_current_page() on a non-object in/shopping/includes/application_top.php on line 312 Does anyone have any idea what I may have done wrong, or missed? I have printed, read then re-read the install instructions but I still get this message. Pat Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 16, 2009 Share Posted May 16, 2009 Dynamenu shows up in the standard grey categorybox with header. I just need the dynamenu without categroybox field. I searched several threads but didnt find the answer. :blink: Any ideas? Installation of Dynamenu was very easy with Bill Kellums instruction "DYNAMENU&STSv4" found here: http://www.oscommerce.com/community/contributions,4456 Thanks for the great contribution. Adrian Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 17, 2009 Share Posted May 17, 2009 Dynamenu shows up in the standard grey categorybox with header. I just need the dynamenu without categroybox field. I searched several threads but didnt find the answer. :blink: Any ideas? Installation of Dynamenu was very easy with Bill Kellums instruction "DYNAMENU&STSv4" found here: http://www.oscommerce.com/community/contributions,4456 Thanks for the great contribution. Adrian you can remove the box and header with kymations solution found here: http://www.oscommerce.com/forums/index.php?sho...t=#entry1401769 Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 18, 2009 Share Posted May 18, 2009 Dynamenu without number of subcategories in brackets and down arrow would be terrific. I looked at catalog/includes/boxes/categories.php, catalog/includes/boxes/dm_categories.php and catalog/includes/functions/dynamenu/lib/layersmenu.inc.php to remove the numbers in brackets and the downarrow but didnt get it done. For example if you change in catalog/includes/boxes/dm_categories.php $menu_downarrowimg = 'down-arrow.png'; to //$menu_downarrowimg = 'down-arrow.png'; the downarrow is gone but replaced by two ">>"" Where do they come from? And how to remove the number of subcategories in brackets? Unfortunately its not as easy to take out as in a regular menu as shown here in the knowledgebase. http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/247 Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 27, 2009 Share Posted May 27, 2009 If you go for the horizontal drop down, you will have a black down arrow (down-arrow.png) next to the main categoryname in the header. I would like to completely remove this down arrow but do not know where it is placed in the code. :blink: Any ideas where I could look? I browsed the dynamenu files already, mainly dm_categries.php but didnt get the clou. if you comment out in catalog/includes/boxes/dm_categories.php $menu_downarrowimg = 'down-arrow.png'; there will be ">>" as replacement. How do I take this off too? :blink: Quote Link to comment Share on other sites More sharing options...
Jonojamesmac Posted May 27, 2009 Share Posted May 27, 2009 Remove <!-- BEGIN cell_arrow --> <img class="horizfwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}" border="0" alt=">>" /><!-- END cell_arrow --> from includes/functions/dynamenu/templates/layersmenu-horiz-sub-menu.html Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 27, 2009 Share Posted May 27, 2009 Remove <!-- BEGIN cell_arrow --> <img class="horizfwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}" border="0" alt=">>" /><!-- END cell_arrow --> from includes/functions/dynamenu/templates/layersmenu-horiz-sub-menu.html Hello Jono, thanks for that. This is a good hint. I am on the right track now. when I removed the above mentioned code, from catalog/includes/functions/dynamenu/templates/layersmenu-horizontal_menu.ihtml the arrow is gone. (when I removed from layersmenu-horiz-sub-menu.html I didnt get the effect.) but I get an errormessage above the menu, saying: Template Error:loadfile: cell_arrow is not a valid handle. TemplateError:subst: unable to load cell_arrow Is this conflicting with the sts template I have installed? Thanks, Adrian Quote Link to comment Share on other sites More sharing options...
111oneeleven Posted May 28, 2009 Share Posted May 28, 2009 Hello Jono,thanks for that. This is a good hint. I am on the right track now. when I removed the above mentioned code, from catalog/includes/functions/dynamenu/templates/layersmenu-horizontal_menu.ihtml the arrow is gone. (when I removed from layersmenu-horiz-sub-menu.html I didnt get the effect.) but I get an errormessage above the menu, saying: Template Error:loadfile: cell_arrow is not a valid handle. TemplateError:subst: unable to load cell_arrow Is this conflicting with the sts template I have installed? Thanks, Adrian Found the solution. (BACKUP FIRST!) To remove the down arrow in the horizontal drop down menu header do this: 1. in catalog/includes/functions/dynamenu/templates/layersmenu-horizontal_menu.ihtml remove <!-- BEGIN cell_arrow --> <img class="horizfwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}" border="0" alt=">>" /><!-- END cell_arrow --> 2. in catalog/includes/functions/dynamenu/lib/layersmenu.inc.php comment out: $t->setBlock('cell_link', 'cell_arrow', 'cell_arrow_blck'); to // $t->setBlock('cell_link', 'cell_arrow', 'cell_arrow_blck'); $t->parse('cell_arrow_blck', 'cell_arrow'); to // $t->parse('cell_arrow_blck', 'cell_arrow'); Thanks again for the hint Jono. :) Best regards, Adrian Quote Link to comment Share on other sites More sharing options...
zozzoozzz Posted May 31, 2009 Share Posted May 31, 2009 thanks for this helpful contribution, here i have two questions , that i hope u can help me or give me some suggestions. 1. how to insert the <li> tag into categories.php, so i can give the categories a new look in stytlesheet.css. 2. I don't need the fly-out model, i want one is when i move the mouse to the categories box , the background will change background color to what I set in the stytlesheet.css. thanks a lot . JUN Quote Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 First of all, nice contribution! Got it working in just a few minutes :) The only issue I'm having is that it doesn't quite show properly on Internet Explorer (using IE6). It works perfectly in Firefox. So here's the issue: My layout is the typical Category box on the left column, then directly underneath it the Manufacturer box. When I mouse over any of the menu in Category, it properly shows the corresponding submenus. Let's say I have quite a number of categories (submenus). But the manufacturer box (the stock drop down box) blocks my submenus. In Firefox, it doesn't, so you can see the submenus perfectly fine. Any ideas?. Thanks! Quote Link to comment Share on other sites More sharing options...
gareth123456 Posted June 24, 2009 Share Posted June 24, 2009 Can anyone tell if the quick browse on this site: http://www.truffleshuffle.co.uk/store/ has been created using Dynamenu? What configuration have they done to achieve this?? Quote Link to comment Share on other sites More sharing options...
Stephan (VS) Posted June 25, 2009 Share Posted June 25, 2009 (edited) Great Contribution works perfectly on my old Site. Now on a new version I installed AJAX shoppin cart that I believe also uses JavaScript. But since I installed Dynamenu the /catalog/shopping_cart.php doesn't show my cart, ie. it only displays "What's In My Cart?" with the continue shopping & checkout buttons. Any1 know how to fix this? AJAX alters only catalog/shopping_cart.php by replacing it with their version. My Dynamenu only alters Header with: include(DIR_WS_BOXES . 'dm_categories.php'); and only the Footer with: echo $GLOBALS['dmfooter']; Dynamenu still works 100% when Ajax stops working. Dynamenu FTW! It worked 100% before dynamenu and when I change the Header edit to "<?php //include(DIR_WS_BOXES . 'dm_categories.php'); ?>" AJAX works perfectly. Mode 0 & 1 Bugs out, but 3 & 4 works perfectly with AJAX. Edited June 25, 2009 by Stephan (VS) Quote "I have no special talent. I am only passionately curious" - Albert Einstein Link to comment Share on other sites More sharing options...
meshdesign Posted June 29, 2009 Share Posted June 29, 2009 Hi all, is it possible with dynamenu to customise it to go between 2 of the options. i.e. i have a category with 3 sub categories - is it possible to have the first level as a tree and then the second level as a drop down menu. i will be trying to figure this out myself but i first need to find out how to split my sql file so i can test it locally :) thanks for any advice Dan Quote Link to comment Share on other sites More sharing options...
surfmaster Posted July 4, 2009 Share Posted July 4, 2009 greetings, first of all thanks for the great contrib. I have just one little problem, after i've installed all and using the flyout css, my submenu works well if in a little browser window, else if i expand the window in full screen the submenu appears far away from the menu... to make u understand better i post a link to the menu http://www.surfmaster.altervista.org/ i've checked the css and seems to be all good..rly dunno how to solve this, i hope u can help cheers Paolo Quote Link to comment Share on other sites More sharing options...
surfmaster Posted July 4, 2009 Share Posted July 4, 2009 greetings, first of all thanks for the great contrib.I have just one little problem, after i've installed all and using the flyout css, my submenu works well if in a little browser window, else if i expand the window in full screen the submenu appears far away from the menu... to make u understand better i post a link to the menu http://www.surfmaster.altervista.org/ i've checked the css and seems to be all good..rly dunno how to solve this, i hope u can help cheers Paolo i found the problem, it's that i have my oscommerce close in a wrapper, how can i modify the menu to adapt it to my page? thanks for any help Quote Link to comment Share on other sites More sharing options...
meshdesign Posted July 7, 2009 Share Posted July 7, 2009 got another quick question, managed to get my site working locally, but the vertical and horzontal fly out dont display properly in wamp server - had a quick look through the pages but couldnt see anything, anybody else had this problem? dan Quote Link to comment Share on other sites More sharing options...
Andyyy Posted July 7, 2009 Share Posted July 7, 2009 Question to TracyS and/or Nate, I'm using STS w/ Dynamenu, plus ProductsInDynamenu. I've chosen the plain vertical menu. My question is, how do I set the look of the categories different from the products? Quote Link to comment Share on other sites More sharing options...
Andyyy Posted July 7, 2009 Share Posted July 7, 2009 You can do almost anything from the stylesheet alone. .vertitem a defines the main menu items; .vertsubitem a defines the subcategory items. I've used this to add backgrounds and borders, turning the categories into buttons. Regards Jim Hi Jim, can I do this for the plain vertical menu? Currently the top menu and submenus have the same look (color, background-color). Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 8, 2009 Share Posted July 8, 2009 The stylesheet for the Plain menu uses the same CSS selectors for all menu items, so you would have to make changes to the code to do this. You can probably do this in the template. I haven't actually tried this so I can't be certain, but that's where I would start looking. Regards Jim Quote See my profile for a list of my addons and ways to get support. 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.