Fork me on GitHub

Dynamenu 2.0 released - Dynamic multi-menu block  Bottom

Go to page 1 - 2 - 3 ... 40 - 41 - 42 [+1 +10]:

  • (1/20/05) VERSION 2.03 RELEASED!
    In the words of Homer Simpson - "Doh"! A user on the forums pointed out a glitch with Dynamenu when resizing the menu and another glitch found which involved a JS error using "no-icon" tree menus. In both cases the only affected menu styles were the tree menus.

    The latest version of DM is available for download. The affected files were:
    includes/blocks/dynamenu/lib/treemenu.inc.php
    includes/blocks/dynamenu/libjs/layersmenu.js


    (1/16/05) VERSION 2.02 RELEASED!
    Hi folks... There is a *slight* update to Dynamenu available... The "bugs" probably don't affect you but the corrections are:

    * Updated JS include fix to also check if a horizontal drop-down menu existed before trying to access it. (Causing JS error if submenus were rendered for a horiz. menu not appearing on the page).
    * Added an explicit array declaration in the "preprocess" function whose absence was causing problems with pnPHPBB2 and perhaps other modules.

    Affected files: dynamenu.php and /dynamenu/lib/layersmenu.inc.php. Get the latest version in the Downloads section!

    On another note, I have switched my site over to a PN site so that you can see the various styles of DM and my other mods in action!


    (1/9/05) VERSION 2.0 RELEASED!
    Latest version is out, a couple nice new features etc... Upgrading users can overwrite their existing dynamenu.php and library/language files (take note of new style sheets defs to take advantage of new features and note that icon/images directory has been split up)...

    * Upgraded PHPLM menu-generation library to most recent version (3.2), fixing minor bugs, compatibility issues with "oddball" browsers

    * Added option to "duplicate" a DynaMenu block's contents to ease creation of multilingual menus

    * Added "separator" menu item to allow a line separator between vertically-oriented menu items (for fly-out/drop-down menus) See readme for usage - if upgrading, you'll need to adjust your menu stylesheets to take advantage.

    * Added feature to tree menu to highlight menu item of current module (i.e. News stays highlighted when browsing news stories). If upgrading, you'll need to adjust your menu stylesheets to take advantage.

    * Integrated "see-through" fix/workaround for MSIE form elements (MSIE's bug - not mine ;) see config readme)

    * Minor fix to change & to & in menu URLs for HTML compliancy

    * Fix to JavaScript header code to first check if menu exists before executing (to prevent JS error in unlikely event you have submenu items rendered for a main menu not appearing on the page)

    * Adjusted default menu level color indicators in admin

    * Menu icon directory separated from menu images used for tree menus (extra config option). Upgraders take note.

    * Add "submenu offset" config option in config to control offset of submenus in fly-out/drop-down menus

    * Edits to readme file. Added Troubleshooting section and content describing new features.

    * Minor adjustments to included stylesheets (note additions for new menu features)

    * Config option to allow clicking on link in tree menus to expand/collapse submenu node

    * Added Xanthia custom plugin for easier placement of menu blocks(s) and menu footer in template

    Download ZIP @ http://www.natewelch.com/postnuke/

    (6/15) BUGFIX VERSION! DynaMenu v1.01
    Ya, new it was coming didn't ya!.... This version address a *minor* glitch if you attempted to enter URLs or other info with a tilde '~' character in them (like "homepage" URLs). The tilde character was used as a sub-delimeter in the menu datafile and has been replaced with a double tilde '~~'.

    Download ZIP @ http://www.natewelch.com/postnuke/

    If you are using DM currently and don't plan on using these types of URLs, you can continue using it without incident, otherwise if *upgrading*, follow the instructions below - or you'll lose your menu - really ;)

    IMPORTANT UPGRADE INSTRUCTIONS:
    To upgrade, simply get the new package and overwrite the dynamenu.php file in the includes/blocks directory. To preserve your current menu, do one of two things:

    Upload the new dynamenu.php file and *before editing another DM* - go into the nuke-blocks table in your 'dynamenu' block entries, change any occurances of '~' in the content field to '~~'. Your menu's should work as normal...

    ..Or..

    If you only are using *one* dynamenu on your website. BEFORE LOADING THE NEW dynamenu.php: load the menu edit screen in the blocks admin - *THEN* upload the new dynamenu.php - *THEN* click the "Commit Changes" button on the menu edit screen. (kinda like a little magic trick)

    Thanks to intnsred for finding this flaw.


    (6/12) NEW VERSION! DynaMenu v1.0
    Well, the final version is available! Last feature added was the color-coding of menu-levels on the menu edit screen, to better help you see your menu structure at a glance. Also some minor primping of comment tags and removal of extranious(sp?) library files not needed for the package.

    Current DM users can simply overwrite their files, however if you have not upgraded since .v8-ish, I implore you to replace all the files, including the style sheets in your theme, and to employ the footer variable as described in the readme (your current menus will be retained). Enjoy!

    NEW VERSION! DynaMenu v.99
    Just a minor enhancement to include handy ordering arrows (similar to the Blocks Admin) so you can move individual menu items up and down the list. It uses JS, so the screen needn't refresh itself

    Current DM users can simply overwrite their dynamenu.php file and add the up.gif and down.gif images in the package to their DM images directory. You existing menus will be retained.

    Also (re-)removed an line including a template.inc.php which was causing an error for some users - sorry 'bout that. icon_redface

    NEW VERSION! DynaMenu v.97
    This release includes several bug/alignment fixes and enhancements. It is recommended all DynaMenu users upgrade their package *including* all libraries and the DynaMenu style sheets included in their theme(s). (Your existing menus will be preserved)

    Fixes/enhancements for this release include:
    - Windows Explorer alignment fix for fly-out menus (involved tweaking of menu template and style sheets)
    - Fix to menu edit screen to prevent stretching of text field when long URLs, etc.. were in them (another MSIE bug). Other minor menu edit display fixes as well.
    - Javascript fix for missing menu object, if submenus rendered for menu which didn’t appear on page
    - Sample menu created for first couple DM menus you create to better illustrate relationship of menus/submenus
    - Other tweaks to included menu stylesheets (to be integrated into your PN theme stylesheet(s)) for better isolation of the menu themes from the main style themes.
    - NEW MENU STYLE: “Tree Menu without Icons” – displays the Tree-style menu without the folders or other icons for a cleaner, more compact presentation


    UPDATED! DynaMenu v.85
    (6/3/2004) Dynamenu has had a modest update which includes:

    >> Applying the "footer" fix to the dynamenu.php file as described in the 5/21 update below. PLEASE NOTE: A variable must be echoed in your footer.php and the menu styles included in your theme's style sheets for DM to work properly.

    >> A sample menu is created on the first couple menu blocks you create to better illustrate the relationships between menus and submenus

    >> Icons used in the sample menu are included

    Any feedback or comments are welcome!

    UPDATED (again)! DynaMenu v.80

    Hi all,

    Check out a new block, called "DynaMenu" I am working on as an alterative to the ActiveMenu module to display many types of flyout/drop-down/tree/plain menus... Works with PN v .714+

    It's based on the PHP Layers Menu System (v 3.0) developed by Marco Pratesi which is a library to generate dynamic menus on the fly.

    Download ZIP @ http://www.natewelch.com/postnuke/

    UPDATE: The menu now features a super-easy editing screen (similar to the static menu in PN) to let you add, edit and delete links...

    Other niceties include:
    - a drop down icon menu with icon preview for placing icons next to menu items
    - ability to target menu links
    - ability to "comment" out links to temporarily disable them
    - add alternate tooltip text to menu items
    - create and/or display multiple menus on a page (without them conflicting with each other!)
    - menus styles tied into theme(s) stylesheet(s) so menus can change to match selected theme
    - each main menu type can have a different look!
    - include menu right in theme layout, which can be edited via the admin (lets you display "inactive" blocks to prevent menu dup)
    - Permission support for individual menu links
    - Support for module-bracket shorthand links
    - FIVE types of menus to choose from! (have many different types on the same page!)

    More info is below (taken from the read me):

    Quote

    WHAT IS IT?
    DynaMenu is a block which allows the user to create *multiple* dynamic and plain text menus for their Postnuke website navigation. Menu styles include a vertical "fly-out" menu and a horizontal "drop-down" menu which run on Javascript; a tree-style vertical menu which can be collapsed/expanded, using the DOM (Document Object Model); and plain text menus, with indented subcategories.

    ADVANTAGES
    Advantages of this block over other dynamic menu modules or blocks, is the ability to have multiple menus (useful for multi-lingual sites), multiple menu styles with exceptional compatibility over a wide range of browsers, and menu style sheets that are integrated into your theme's style sheet to allow for customization of the menu styles across different themes.


    A detailed readme is also included regarding usage, tips, etc...

    Check it out and let me know what you think! And a shiny new penny for anyone who can help work out one of the *minor* known issues (see the readme)!

    UPDATE (5/21): A FIX FOR DROP-DOWN/FLY-OUT SUBMENU ALIGNMENT ISSUES WITH SOME THEMES
    One of the major "known issues" appears to have been somewhat resolved, which involved incorrect alignment of sub-menus for JS based menus on certain themes. The cause of this was the outputting of the JS menu "footer" (which contains hidden DIV tags for submenus and other stuff) in the wrong place.

    A simple fix for release .8 is below which involves changing one line in the dynamenu.php block file and adding a line to your PN's footer.php. I will implement this in a future release but want to figure a way where everything is contained in the dynamenu.php block code.

    Here's the fix:
    In dynamenu.php, find this set of code:

    Code

    // Print the JS Footer for dynamic style menus, if any loaded from the db query above
    if ($count)
        $GLOBALS[mid]->printFooter();

    and change to:

    Code

    // Load the JS Footer for dynamic style menus, if any loaded from the db query above
    // Be sure to output the $GLOBALS['dmmenufooter'] in your PN's footer.php
    if ($count) {
        $GLOBALS[mid]->makeFooter();   
        $GLOBALS['dmmenufooter'] = $GLOBALS[mid]->getFooter();
    }

    And in the footer.php in your PN root directory, add the following line, just *before* the echoed closing body tag :

    Code

    echo $GLOBALS['dmmenufooter'];

    That's it! If anyone experiences further issues with menu alignment after applying these updates (and reading the readme ;)) be sure to sound off!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Just a little update to the DynaMenu package:

    1. I tweaked the default menu style a bit so the arrows (indicating sub-submenus) on the JS vertical flyout weren't huggin' up next to the text and I upped the z-index on JS horizontal drop-down menus so they would overlap any menus that might happen to be below them...

    2. Changed the textarea box for menu content entry, so it would have a horizontal scroll bar instead of wrapping text (for easier proofing)...

    This thing really works *great* - Multiple fly-out, drop-down, & tree menus on the same page! I encourage anyone looking for a flexible dynamic menu system to try it!

    Will be *perfect* if I can get the JS issue worked out (though it wouldn't affect users displaying all JS menus they create in all theme pages) anyone got any ideas? If it can get worked out, maybe I'll come up with a slicker interface for menu item entry (though the delimited text thing is pretty easy once U adjust ;))

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • I took a look and tried the block.
    But it doens't snow as it is supposed to do.
    few things:
    1- I cannot select language ALL. It won't show then. In the blocks it will say language x_all. If I put it on English, it shows. (this is on my local-server. On the internet it seems to work, but I don'tknow what is different)

    {edit}
    After putting the correct code in STYLE.css it show like it is supposed to do :)

    Take a look here http://www.amsterdam…s.nl/nuke/index.php
    {/edit}
  • Thanks for the feedback, rooky

    It looks like you didn't add the styles for the menus to your two style sheets for your theme - this is necessary for proper rendering. The vertical menu alignment is one of the "known issues", but let's see how it looks after you add those in...

    As for the languages, when building the JS menus, I have the block look for dynamenu blocks whose language is the current one or "NULL" (All)... Does your local PN installation specify ALL languages in the dbase as something else? (browse the blocks DB on your local install)... It works on my local and web installation (PN 726)

    Be sure to check out the readme as well, if you haven't already. Lemme know how it turns out!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • I was reading to fast
    I wanted to correct my post already, but I saw you replied even faster :)

    working example now on my site
    (link in previous post)
  • Great! Remember, you need to add the styles to the styleNN.css too, for the poor slobs on Mozilla, Netscape, etc... Also the drop downs aren't dropping down - make sure you aren't "skipping" any levels (see readme)... Or maybe there is a conflict with another JS on your page?

    Trying to work out any bugs, so any feedback you can provide is helpful!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • You mean for the wise people who are no longer the poor slobs that use the outdated IE right Nate?

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Yeah :) I was being self-depricating on that one, as I use Mozilla and love it - tabbed browsing, pop-up blocker... yay! Although Netscape does bite it hard!

    Did'ya try my block, mhalbrook? If I can get the *minor* JS thing worked out, it would be slammin'! (Works fine though if the JS menus you create [vert flyout/horiz dropdown] appear on every page!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • nate_02631

    Also the drop downs aren't dropping down - make sure you aren't "skipping" any levels (see readme)... Or maybe there is a conflict with another JS on your page?


    I don't know what you mean.
    I pasted the .css content in the Style.css and styleNN.css
    I think I did all there is in the readme file.
    I disabled all the .js links in the theme.html to see if it changes anything: nothing
  • Hi all - just a bump of this post as the DynaMenu block has been majorly updated (most notably the input interface - no more pipe-delimited text!) I think we have a contendah!

    Please reread the edited first post for a breakdown of the new features. Then, download and check it out! I could really use some more beta testers - I promise, it won't blow up your PN site ;)

    To those of you who've tried the first version, you can safetly overwrite the old files on your site without messing anything up. The included style-sheet add-in has also been tweaked a bit so you might want to repaste that into the style.css & styleNN.css of your theme(s).

    As always, feedback is appreciated & encouraged!

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Just installed it on my 750 test site. One thing that would be nice, if it's possible, would be to incorperate how MenuEdit .714 does adding modules. It creates a dropdown list of Modules to add to the menu (Using square brackets or currly braces as needed). Do we add modules the same way in this as we do the core ?{modulename}

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Nate,

    This is one beautiful piece of work. I am thoroughly impressed! Check it out in action, if you want, at http://www.bobplumb.com.

    I do have one question: How do I get the menu items in the Center block to be centered within the block?

    Thanks!! :D
  • mhalbrook

    Do we add modules the same way in this as we do the core ?{modulename}

    No, actually you should put in the actual link - ideally I was trying to accomplish without modding the Layers Menu library files.

    I actually hadn't thought about the bracket/curleybrace thang - I'll review the static menu block and see about adding that along with menu-item-specific permissions in the next release... P.S. Mark, do you have a URL for your DEV site?

    --edit 5/14/04 Module bracket shorthand linking is supported in Dynamenu .80+ as well as PERMISSIONS support for individual links

    Wendell

    How do I get the menu items in the Center block to be centered within the block?

    Multiple ways really... you could adjust the "horbar" style in the style sheets you pasted in your theme's style/styleNN.css... It's a
    style so just add a center alignment value. Or you could edit the template for the horizontal menu (under the dynamenu templates dir) and add a
    around it (see where the template starts and end)... Or, edit your theme center block to include the appropriate HTML... Remember you can also include menus directly in your theme layout...

    BTW Wendell, I couldn't see the menu on your site, and you might want to rethink the large icons on the home page, as it stetches the layout out a bit too far (even for 1024x768)...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • :shock: I'm itching to get this working because it'll free up a lot of space in the left block. What would be the best way for me to integrate this into my current theme? My site is here: www.nubiint.com and I'm using only one theme. I'd like to remove all of the links from the Community Menu up to the menu going across the top of the page where it says Home?
    I imported the style sheet to the section of the theme.html file because I wasn't sure whether to place it at the top or bottom of the style.css & styleNN.css sheets.
    I create the block but I'm not sure where to place it and how to get the links to display where I want them.

    Any responses are appreciated.
  • nate_02631

    BTW Wendell, I couldn't see the menu on your site, and you might want to rethink the large icons on the home page, as it stetches the layout out a bit too far (even for 1024x768)...


    Good point. Now that you say that, I'm thinking I may stack them 3x3. Or maybe just use text. The site is still under construction, so I thank you for your comments! :D There really are no menus to speak of, the icons take you directly to a Topic.

Go to page 1 - 2 - 3 ... 40 - 41 - 42 [+1 +10]:

This list is based on users active over the last 60 minutes.