Megalithic1 Posted December 9, 2008 Share Posted December 9, 2008 (edited) I just installed this add-on (with STS) and it works perfectly, thank you very much ! I had a thought to use this contribution for the complete menu of my store, not just for product categories, ie to include "about us" and "information (faq, shipping etc) Is this possible? yes it is possible, it does however require changes to a lot of files. check out My Website for a working example of using a dynamenu and STS to create a list for multiple pages. most of the procedure is already listed elsewhere in this thread but getting the submenu's to be a diff size and colour requires modifying the template file in the dynamenu subdirectory from catalog/functions/dynamenu. I could post the modifications if their is enough demand. As a quick sidenote my dynamenu based site works in all browsers, however i am not using slide out menu's just a plain vertical list menu Edited December 9, 2008 by Megalithic1 Quote Link to comment Share on other sites More sharing options...
jon_wheeldeals Posted December 11, 2008 Share Posted December 11, 2008 I'm about to go KOO KOO!!! I installed this awesome contribution-- following the instruction to the last T. All appears to work perfectly in firefox. However, when I browse in IE 7.0, the vertical fly out submenus go accross the whole page. I've read all 32 pages of this topic. And, yes, I pasted // Output the footer for Dynamenu for osCommerce echo $GLOBALS['dmfooter']; in footer.php. Please see complete footer.php below: <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" style="width:900px" style="height:126px" align="center" class="footer"> <tr> <td><?php echo tep_image(DIR_WS_IMAGES.'q3.gif')?></td> <td style="width:170px"><br style="line-height:47px"><?php echo tep_image(DIR_WS_IMAGES.'p1.gif')?><br></td> <td><img alt="" src="images/z2.gif"></td> <td><?php echo tep_draw_separator('spacer.gif', '23', '1'); ?></td> <td style="width:900px"> <br style="line-height:43px"> <font><?php echo tep_image(DIR_WS_IMAGES.'z3.gif','','','',' style="margin-left:10px;"')?><a href="<?php echo tep_href_link('index.php')?>"><? printf(BOX_MANUFACTURER_INFO_HOMEPAGE,"")?></a><?php echo tep_image(DIR_WS_IMAGES.'z3.gif')?><a href="<?php echo tep_href_link('advanced_search.php')?>"><?php echo BOX_SEARCH_ADVANCED_SEARCH?></a><?php echo tep_image(DIR_WS_IMAGES.'z3.gif')?><a href="<?php echo tep_href_link('reviews.php')?>"><?php echo BOX_HEADING_REVIEWS?></a><?php echo tep_image(DIR_WS_IMAGES.'z3.gif')?><? if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link('account.php')?>"><?php echo HEADER_TITLE_MY_ACCOUNT?></a><? } else { ?><a href="<?php echo tep_href_link('create_account.php')?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT?></a><? } ?><?php echo tep_image(DIR_WS_IMAGES.'z3.gif')?><? if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link('logoff.php')?>"><?php echo HEADER_TITLE_LOGOFF?></a><? } else { ?><a href="<?php echo tep_href_link('contact_us.php')?>"><?php echo "ContactUs";//HEADER_TITLE_LOGIN?></a><? } ?></font><br style="line-height:1px;"> <br style="line-height:7px;"> <?php echo FOOTER_TEXT_BODY?><span> <a href="<?php echo tep_href_link('privacy.php')?>"><?php echo BOX_INFORMATION_PRIVACY?></a></span> <span><strong>|</strong></span> <span><a href="<?php echo tep_href_link('conditions.php')?>"><?php echo BOX_INFORMATION_CONDITIONS?></a></span></td> <td><?php echo tep_image(DIR_WS_IMAGES.'q4.gif')?></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> <?php } // Output the footer for Dynamenu for osCommerce echo $GLOBALS['dmfooter']; ?> See the problem HERE Hover over WHEEL and go down to RUFF RACING. Anyone... Please help. Quote Link to comment Share on other sites More sharing options...
jon_wheeldeals Posted December 11, 2008 Share Posted December 11, 2008 OOPS! For the link to see the problem, please Click here! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2009 Share Posted January 1, 2009 Hope you can help me, I have for some time now looked around here without finding a solution for my problem with Dynamenu. I got most of it working, using vertical flyout, but there is still one thing. When I load the page I will get the sub menu to pop up in upper left corner of the page. If I move the mouse to the popup it will move to the right but still in the top, however if i point at my menu the popup will disappear. I am confused and hope you can help me with a solution. I am using it together with STS Quote Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2009 Share Posted January 1, 2009 When I load the page I will get the sub menu to pop up in upper left corner of the page. If I move the mouse to the popup it will move to the right but still in the top, however if i point at my menu the popup will disappear. I kept looking and found the solution, if someone has the same problem, it had to do with a value in the CSS, .vertsubmenu, I probably changed it... anyhow it should be: .vertsubmenu { /* Behaviour of sub-menu - leave as is for proper operation of submenus */ position: absolute; left: 0; top: 0; visibility: hidden; } Well atleast its working now, cheers for a great contrib. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 Hey, first .. as you heard a hundred times...but this is a great contrib! :-) Thanks a lot! I have a small, but annoying prob. I cannot change the link-format for the "horizitem" Links. They are always underline an grey as links, und clear and black for hover. Even I checked the css several times. The Link to the page (under construction) Website (under construction It is the third time, I installed this contrib, but the first time with that problem. It works fine under www.dr-holl.de There I used the vertical-flyout ... but this should not be the reason! can anyone help me? Thanx a lot! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 It seems to be as default in the .ihtml Template. How can I change this .ihtml file with dreamweaver or with any other editor? (MAC) Thanx a lot Michael Quote Link to comment Share on other sites More sharing options...
M5E.at Posted January 15, 2009 Share Posted January 15, 2009 hello! i've trouble with the menu $menu_type = 1; only the first level of my categories wouldn't be shown on hover if its the first visit of the page (shop) after 1-click surfing in my shop it will works. thanks in advance Quote Link to comment Share on other sites More sharing options...
M5E.at Posted January 16, 2009 Share Posted January 16, 2009 hello! i've trouble with the menu $menu_type = 1; only the first level of my categories wouldn't be shown on hover if its the first visit of the page (shop) after 1-click surfing in my shop it will works. thanks in advance found! > there was a problem with "<table>" in my script Quote Link to comment Share on other sites More sharing options...
pwgrand Posted January 24, 2009 Share Posted January 24, 2009 Hi, first thanks for this great contrib, I want to add simply a text link beside the dynamenu (pls look the attached pic) problem i cant set a php tep href inside the template file of the dynamenu. Has anyone pls an idea how i can do this ? Quote Link to comment Share on other sites More sharing options...
JDS80 Posted January 28, 2009 Share Posted January 28, 2009 Hi! Im going to use dynamenu for oscommerce treemenu mode in my upcoming e commerce site. I have a problem with the known issue of the first collapsed branch in the menu. I have tried the bug fix for this but it didnt helped me.. Then i am getting blurred (tree_XXX_XXX.png) icons when using Firefox 3.05, IE works with all versions i have tried. Is there any fix for this?? Thanks in advance! Johan Strand Quote Link to comment Share on other sites More sharing options...
sat182 Posted February 2, 2009 Share Posted February 2, 2009 Hello, I've installed the Horizontal drop-down menu... but I want to customize it with some manual links in the right end of the menu... Can anyone help me whit this? Thanks in advance Quote Link to comment Share on other sites More sharing options...
potatocake Posted February 2, 2009 Share Posted February 2, 2009 Hi, I've just recently setup the Horizontal drop-down menu into my oscommerce site. My question is - why doesnt the subcategories expand from the main category untill u have clicked the main category? i.e: i have 4 categories - A, B, C & D . Category A and category B has subcategories. When I mouseover category A or B, a drop-down menu does not appear. The drop-down menu appears only after I have clicked on the main category (A or B). What do I have to change so that the drop-down sub-categories will show when I mouseover the main category? Below is my dm_categories.php ; <?php /* $Id: dm_categories.php,v 1.00 2006/05/07 01:13:58 nate_02631 Exp $ Ties the store category menu into the PHP Layers Menu library, allowing display of categories as DTHML drop-down or fly-out menus, collapsable tree-style menus or horizontal/vertical indented plain menus. osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2006 Nate Welch http://www.natewelch.com Released under the GNU General Public License */ // BEGIN Configuration Options // Set the value below corresponding to the type of menu you want to render // 0 = Horizontal Drop-down; 1 = Vertical Flyout; 2 = Tree Menu; // 3 = Plain Horizontal Menu; 4 = Plain Vertical Menu // Include the appropriate stylesheet in your store stylesheet, and if rendering // types '0' or '1', you must also echo (output) the "menu footer" variable // in your store footer as described in the readme (or submenus won't work) $menu_type = 0; // Set to false to display the menu output only. Set to true to display in // a regular box. The former is useful for better integrating the menu with your layout. $show_dmcats_as_box = false; // Set to 'true' to assign TITLE tags to each of the menu's items, 'false' to leave blank $menu_use_titles = false; // Name of the icon file to be used preceding menu items. Leave blank for no icons. // NOTE: Does not apply to plain style menus. Icon should be in the /images directory $menu_icon_file = ''; // Width and height of icons used in menus (does not apply to plain menus). $menu_icon_width = 16; $menu_icon_height = 16; // Set the graphic to be used for the forward arrow and down arrow images used in // drop-down and fly-out menus. Images must reside in your catalog's /images directory $menu_fwdarrowimg = 'forward-arrow.png'; $menu_downarrowimg = 'down-arrow.png'; // Indicates whether or not to render your entire category list or just the root categories // and the currently selected submenu tree. Rendering the full list is useful for dynamic menu // generation where you want the user to have instant access to all categories. The other option // is the default oSC behaviour, when the subcats aren't available until the parent is clicked, // more suitable for plain-style menus $show_full_tree = true; // For tree menus, set to true to have only nodes corresponding to the current category path // expanded. If set to false, the tree menu will retain expanded/collapse nodes the user has // selected (as well as expanding any for categories they've entered) $menu_tree_current_path = true; // Set the three numerical values below to adjust the offset of submenus in // horizontal drop-down and vertical fly-out menus. Values adjust the following (in order) // Top Offset: # of pixels from top border of previous menu the submenu appears // Right Offset: # of pixels from right border of previous menu the submenu appears // Left Offset: # of pixels from left border of previous menu the submenu appears // if the submenu pops to left (i.e. if window border is reached). Negative values are allowed. $menu_layer_offset = array (0,4,4); // Show icons on tree menus? If set to false, only expand/collapse icons and connecting lines are shown $GLOBALS['dm_tree_folder_icons'] = true; // This is the HTML that you would like to appear before/after your categories menu if *not* // displaying in a standard "box". This is useful for reconciling tables or clearing // floats, depending on your layout needs. For example if not including in a box in the // default osC template, you would need opening/closing <tr><td> tags... $before_nobox_html = ''; $after_nobox_html = ''; // Use this option if you have a *lot* of subcategories in a DHTML style menu and your // submenus won't fit on the page. Set $divide_subcats to the max # of subcategories you want // to display. The menu will show a "more..." link and display the remaining subcategories // under that selection. Leave at "0" to not divide your subcategories. $divide_subcats = 0; // The text you want to display to indicate more subcategories are available // This can be set a string or to a language constant you define. $divide_subcats_text = 'more...'; // END Configuration Options // Misc setting to make folder icon clickable to expand tree menu nodes $GLOBALS['dm_tree_titleclick'] = true; // Initialize HTML and info_box class if displaying inside a box if ($show_dmcats_as_box) { echo '<tr><td>'; $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); new infoBoxHeading($info_box_contents, true, false); } // Generate the menu data output (uses configuration options above) $categories_string = tep_make_cat_dmlist(); // Include required libraries based on menu type require_once 'includes/functions/dynamenu/lib/PHPLIB.php'; require_once 'includes/functions/dynamenu/lib/layersmenu-common.inc.php'; if ($menu_type < 2) { // Setup for DHTML style menus ?> <script language="JavaScript" type="text/javascript"> <!-- <?php require_once 'includes/functions/dynamenu/libjs/layersmenu-browser_detection.js'; ?> // --> </script> <script language="JavaScript" type="text/javascript" src="includes/functions/dynamenu/libjs/layersmenu-library.js"></script> <script language="JavaScript" type="text/javascript" src="includes/functions/dynamenu/libjs/layersmenu.js"></script> <?php require_once 'includes/functions/dynamenu/lib/layersmenu.inc.php'; $mid = new LayersMenu($menu_layer_offset[0],$menu_layer_offset[1],$menu_layer_offset[2],1); } elseif ($menu_type > 2) { // Setup for plain style menus require_once 'includes/functions/dynamenu/lib/plainmenu.inc.php'; $mid = new PlainMenu(); } else { // Setup for tree style menus ?> <script language="JavaScript" type="text/javascript"> <!-- <?php require_once 'includes/functions/dynamenu/libjs/layersmenu-browser_detection.js'; ?> <?php if ($menu_tree_current_path) { echo "\n".'var menu_tree_current_path = true'; } else { echo "\n".'var menu_tree_current_path = false'; } ?> // --> </script> <script language="JavaScript" type="text/javascript" src="includes/functions/dynamenu/libjs/layerstreemenu-cookies.js"></script> <?php require_once 'includes/functions/dynamenu/lib/treemenu.inc.php'; $mid = new TreeMenu(); } // Set menu config variables $mid->setDirroot('./'); $mid->setLibjsdir('./includes/functions/dynamenu/libjs/'); if ($menu_type !=2) { $mid->setTpldir('./includes/functions/dynamenu/templates/'); } $mid->setImgdir('./images/'); $mid->setImgwww('images/'); $mid->setIcondir('./images/'); $mid->setIconwww('images/'); $mid->setIconsize($menu_icon_width, $menu_icon_height); // Generate menus $mid->setMenuStructureString($categories_string); $mid->parseStructureForMenu('catmenu'); switch ($menu_type) { case 0: // Horizontal drop-down $mid->setDownArrowImg($menu_downarrowimg); $mid->setForwardArrowImg($menu_fwdarrowimg); $mid->setHorizontalMenuTpl('layersmenu-horizontal_menu.ihtml'); $mid->setSubMenuTpl('layersmenu-horiz_sub_menu.ihtml'); $mid->newHorizontalMenu('catmenu'); $mid->printHeader(); $categories_menu = $mid->getMenu('catmenu'); $GLOBALS['dmfooter'] = $mid->getFooter(); break; case 1: // Vertical fly-out $mid->setDownArrowImg($menu_downarrowimg); $mid->setForwardArrowImg($menu_fwdarrowimg); $mid->setVerticalMenuTpl('layersmenu-vertical_menu.ihtml'); $mid->setSubMenuTpl('layersmenu-vert_sub_menu.ihtml'); $mid->newVerticalMenu('catmenu'); $mid->printHeader(); $categories_menu = $mid->getMenu('catmenu'); $GLOBALS['dmfooter'] = $mid->getFooter(); break; case 2: // Tree menu $categories_menu = $mid->newTreeMenu('catmenu'); break; case 3: // Horizontal plain menu $mid->setPlainMenuTpl('layersmenu-horizontal_plain_menu.ihtml'); $categories_menu = $mid->newHorizontalPlainMenu('catmenu'); break; case 4: // Vertical plain menu $mid->setPlainMenuTpl('layersmenu-plain_menu.ihtml'); $categories_menu = $mid->newPlainMenu('catmenu'); break; } // Output list inside a box if specified, otherwise just output unordered list if ($show_dmcats_as_box) { $info_box_contents = array(); $info_box_contents[] = array('text' => $categories_menu); new infoBox($info_box_contents); echo '</td></tr>'; } else { echo $before_nobox_html; echo $categories_menu; echo $after_nobox_html; } // Create the root category list function tep_make_cat_dmlist($rootcatid = 0, $maxlevel = 0){ global $cPath_array, $show_full_tree, $languages_id; global $idname_for_menu, $cPath_array, $show_full_tree, $languages_id; // Modify category query if not fetching all categories (limit to root cats and selected subcat tree) if (!$show_full_tree) { $parent_query = 'AND (c.parent_id = "0"'; if (isset($cPath_array)) { $cPath_array_temp = $cPath_array; foreach($cPath_array_temp AS $key => $value) { $parent_query .= ' OR c.parent_id = "'.$value.'"'; } unset($cPath_array_temp); } $parent_query .= ')'; } else { $parent_query = ''; } $result = tep_db_query('select c.categories_id, cd.categories_name, c.parent_id from ' . TABLE_CATEGORIES . ' c, ' . TABLE_CATEGORIES_DESCRIPTION . ' cd where c.categories_id = cd.categories_id and cd.language_id="' . (int)$languages_id .'" '.$parent_query.'order by sort_order, cd.categories_name'); while ($row = tep_db_fetch_array($result)) { $table[$row['parent_id']][$row['categories_id']] = $row['categories_name']; } $output .= tep_make_cat_dmbranch($rootcatid, $table, 0, $maxlevel); return $output; } // Create the branches off the category list function tep_make_cat_dmbranch($parcat, $table, $level, $maxlevel) { global $cPath_array, $menu_use_titles, $menu_icon_file, $divide_subcats, $divide_subcats_text; $lvl_adjust = 1; $list = $table[$parcat]; // Build data for menu while(list($key,$val) = each($list)){ if (isset($cPath_array) && in_array($key, $cPath_array)) { $this_expanded = '1'; $this_selected = 'dmselected'; } else { $this_expanded = ''; $this_selected = ''; } if (!$level) { unset($GLOBALS['cPath_set']); $GLOBALS['cPath_set'][0] = $key; $cPath_new = 'cPath=' . $key; } else { $GLOBALS['cPath_set'][$level] = $key; $cPath_new = 'cPath=' . implode("_", array_slice($GLOBALS['cPath_set'], 0, ($level+1))); $this_subcat_count++; } if ($menu_use_titles) { $this_title = $val; } else { $this_title = ''; } if (SHOW_COUNTS == 'true') { $products_in_category = tep_count_products_in_category($key); if ($products_in_category > 0) { $val .= ' (' . $products_in_category . ')'; } } // Output for file to be parsed by PHP Layers Menu // Each line (terminated by a newline "\n" is a pipe delimited string with the following fields: // [dots]|[text]|[link]|[title]|[icon]|[target]|[expanded] // dots - number of dots signifies the level of the link '.' root level items, '..' first submenu, etc.... // text - text for link; title - tooltip for link; icon - icon for link; target - "dmselected" CSS class if item is selected // expanded - signifies if the node is expanded or collapsed by default (applies only to tree style menus) // Add "more" submenu if dividing subcategories if ($this_subcat_count > $divide_subcats && $divide_subcats) { $output .= str_repeat(".", $level+$lvl_adjust).'|'.$divide_subcats_text.'||'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; $this_subcat_count = 1; $lvl_adjust ++; } $output .= str_repeat(".", $level+$lvl_adjust).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; if ((isset($table[$key])) AND (($maxlevel > $level + 1) OR ($maxlevel == '0'))) { $output .= tep_make_cat_dmbranch($key,$table,$level + $lvl_adjust,$maxlevel); } } // End while loop return $output; } ?> Quote Link to comment Share on other sites More sharing options...
JDS80 Posted February 3, 2009 Share Posted February 3, 2009 I found the solution for both problems. the toggle issue had already a bugfix, but the code posted was wrong. the code in the file attached was right though! i dont remember what i did to make the blurred icons go away, but now its working, so im happy. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2009 Share Posted February 20, 2009 Hello. Love this addon! GREAT! I installed Dynamenu using the "VERTICAL FLYOUT" type menu. Its all working great. I just want to change one thing. I have the following layout of Categories: Main Category - Sub Category 1 - Sub Category 2 Main Category - Sub Category 1 - Sub Category 2 - Sub Category 3 - Sub Category 4 - Sub Category 5 - Sub Category 6 When the main category link is clicked it comes up with images links in the middle page. This is ok. But i would like the sub category products to show up below these image links. Is there someway i can do this? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2009 Share Posted February 22, 2009 Hello. Love this addon! GREAT! I installed Dynamenu using the "VERTICAL FLYOUT" type menu. Its all working great. I just want to change one thing. I have the following layout of Categories: Main Category - Sub Category 1 - Sub Category 2 Main Category - Sub Category 1 - Sub Category 2 - Sub Category 3 - Sub Category 4 - Sub Category 5 - Sub Category 6 When the main category link is clicked it comes up with images links in the middle page. This is ok. But i would like the sub category products to show up below these image links. Is there someway i can do this? I have sorted my issue. I linked each product to the main category of which it is listed in the subcategory. I also used an addon at Addon @ Oscommerce called 'Multiple Categories per product quick entry'. It does what i want it to do! Thanks for your help :) Nick Quote Link to comment Share on other sites More sharing options...
qpress Posted February 25, 2009 Share Posted February 25, 2009 Hi, I would like to make a unique template for dynamenu. I would like different colors for the menus of the vertical flying menu with the same colors in the sub menus. But I need to number the first vertital menus: 1 first menu, 2 second menu etc. to assign it to different css classes in the template. Here a sample what I would like just horizontal : http://www.accessoires-piscine.fr/ Any idea? Thanks! Quote Link to comment Share on other sites More sharing options...
zipicip Posted February 26, 2009 Share Posted February 26, 2009 Hello is there any way to hide categories that don't have any products with status 1 (all products are out of stock)? Maybe to use tep_count_products_in_category .... Quote Link to comment Share on other sites More sharing options...
zipicip Posted February 26, 2009 Share Posted February 26, 2009 I did it myselft on dm_categories.php replace: $output .= str_repeat(".", $level+1).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; with $products_in_category = tep_count_products_in_category($key); if ($products_in_category >0) { $output .= str_repeat(".", $level+1).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; } If it is a better way please suggest Quote Link to comment Share on other sites More sharing options...
azer Posted February 26, 2009 Share Posted February 26, 2009 on dm_categories.php replace: $output .= str_repeat(".", $level+1).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; with $products_in_category = tep_count_products_in_category($key); if ($products_in_category >0) { $output .= str_repeat(".", $level+1).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; } i got some problem my code is not like yours could you tell me what is the difference (look me using $lvl_adjust and you +1 instead): my line is : $output .= str_repeat(".", $level+$lvl_adjust).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; you rline is $output .= str_repeat(".", $level+1).'|'.$val.'|'.tep_href_link(FILENAME_DEFAULT, $cPath_new).'|'.$this_title.'|'.$menu_icon_file.'|'.$this_selected.'|'.$this_expanded."\n"; Quote MS2 Link to comment Share on other sites More sharing options...
azer Posted February 26, 2009 Share Posted February 26, 2009 i got some erreur i cant figure out : Undefined variable: this_subcat_count in boxes\dm_categories.php on line 303 , this is the one in bold $GLOBALS['cPath_set'][$level] = $key; $cPath_new = 'cPath=' . implode("_", array_slice($GLOBALS['cPath_set'], 0, ($level+1))); [b]$this_subcat_count++;[/b] Quote MS2 Link to comment Share on other sites More sharing options...
♥kymation Posted February 27, 2009 Share Posted February 27, 2009 Find this code in catalog/includes/boxes/dm_categories.php: function tep_make_cat_dmbranch($parcat, $table, $level, $maxlevel) { global $cPath_array, $menu_use_titles, $menu_icon_file, $divide_subcats, $divide_subcats_text, $hide_subcategories_of; $lvl_adjust = 1; $list = $table[$parcat]; and add just after that: $this_subcat_count = 1; That should stop PHP from bitching about the undefined variable. 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...
azer Posted February 27, 2009 Share Posted February 27, 2009 thanks jim it worked , it s so cool to see all those errors lines removed ... :rolleyes: Quote MS2 Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2009 Share Posted March 9, 2009 Hey Love this contribution, congrats and thanks to the creators. I want to remove the arrows or even adjust them so they are positioned to the far right of the infobox. Sorry i cant lead you to the webpage as it is currently being development on my laptop. Thanks Nick Quote Link to comment Share on other sites More sharing options...
zozzoozzz Posted March 25, 2009 Share Posted March 25, 2009 How to define the style of the Vertical Fly-Out Menu? i have installed the Dynamenu and pasted the "Vertical Fly-Out Menu Style" in my stylesheet.css, but nothing has been changed ? How can i modify the Dynamenu in stylesheet.css ? 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.