Fork me on GitHub

Dynamenu install instructions rewritten  Bottom

  • These instructions are a compilation (and rewording) of the install instructions for DynaMenu 2.03 (DM) as of 5/21/07. They are for using the Xanthia theme named PostNuke. Please post any and all corrections and suggestions.

    It is not known whether DM 2.03 works with PN 7.6.4. Nate, the author of DM, now requires a "donation" for answers to support questions.

    I will keep amending the instructions as corrections and suggestions are posted. The idea is to have clear and concise install and management instructions for this outstanding block. Kerry

    Links to DM threads and topics:

    DynaMenu for PostNuke by Nate Welch

    Nate Welch's Install… Usage Instructions (click "Allow" to open your MS Word application)

    Help inserting dropd…in Seabreeze header (see pheskie's 27.11.2005, 15:22 post)

    DynaMenu dropdown problem

    CSS/List mode for DynaMenu

    The following instructions take one up to the beginning of configuration (how to set up DM once it has been installed). Hopefully I'll figure out how to get it working and if so I'll post those instructions here also. Much thanks to Peter (pheski), Topiatic, Mad and others to be named, for their support in interpreting Nate's instructions.

    Installation Instructions for DynaMenu (reworded for using Xanthia theme named PostNuke)

    Configuration of your PostNuke

    PN Administration > pnRender:
    Compile check: ON
    Force compilation: ON
    Enable Caching: OFF

    PN Administration > Xanthia

    Theme name: PostNuke: Actions: Edit theme
    Xanthia theme engine: click "Configure Xanthia"
    Main configuration settings:
    Use visual block editor: OFF
    Use short URLS: OFF
    Extension to use for short URLS (excluding.) HTML
    Enable caching: OFF
    Modules to exclude from caching: leave empty
    Check for updated version of templates: YES
    Force templates recompilation: YES
    Length of time to cache pages: leave at default of 3600
    Store templates in database: NO
    Use trimwhitespace output filter: NO

    Installation of Dynamenu

    FTP transfer mode = Auto
    chmod/permissions are set automatically

    1. Upload dynamenu.php (located in unzipped folder includes/blocks) to includes/blocks directory

    2. Upload folder named dynamenu located in blocks to includes/blocks directory

    3. Upload language folder located in the includes folder to the includes/language/blocks/eng directory

    4. Upload the Xanthia plugin named function.dynamenu.php located in includes/blocks/dynamenu/docs_extras/Xanthia_plugin/ to modules/Xanthia/plugins

    5. Using your text editor open dynamenu_style.css located in your unzipped folder includes/blocks/dynamenu/docs_extras copy the entire page.

    5a Download style.css located in themes/PostNuke/style and open it and scroll to the bottom and press paste. This will combine the two styles (the reason for downloading style.css is that some FTP applications don't allow live editing).

    5b Upload the combined styles.css to themes/PostNuke/style.

    Quote

    In PostNuke 0.75 there are usually two: style.css and styleNN.css. The first is for almost everyone, the second is for OLD and rarely used Netscape browsers. In 0.7.6.x the NN stylesheet is no longer there - just paste into the style.css file in Seabreeze/styles>. It doesn't matter whether it is in the beginning or at the end?Peter


    Footer Editing Instructions

    To make drop-downs drop and fly-outs fly, a special dynamenu footer code has to be inserted in the correct place.

    For Xanthia themes there are two methods:

    Xanthia theme Method #1
    Copy-Paste the following code immediately before the closing tag < / body > in:
    themes/PostNuke/templates/master.htm and also in:
    themes/PostNuke/templates/modules/home.htm.

    Code
    echo $GLOBALS['dmfooter'];
    Code

    Xanthia theme Method #2

    In the unzipped folder includes/blocks/dynamenu/docs_extras/xanthia_plugin/ open the file named function.dynamenu.php (this is the same file you installed in Step 4).

    Copy the following code and paste it it before the the closing tag < / body >

    Code
    Due to HTML restrictions of this forum the code cannot be displayed here. To see this code scroll down on Help inserting dropd…in Seabreeze header to pheski's post of 27.11.2005, 15:22[color=darkblue].
    Code

    The function '1' in the above code takes care of the same job the three lines of code accomplish in method #1. It has to be placed in the same and files as above.


    PostNuke Administration

    Administration-> Blocks

    Create a new block by clicking | New block |
    Add Block
    Title: name it something obvious like DynaMenu
    Block: select Core/Dynamic Menu from the drop down
    Position: Leave at default = Left
    Collapsible: Leave default = YES
    Default state for block: Leave default = Expanded
    Language Leave default = All

    Press "Update" which takes you automatically to Blocks > Modify block > Core/dynamenu

    From your home page click Administration > System > System Modules > click Blocks.

    In the Title column notice DynaMenu. To the right click "edit"

    Title: DynaMenu
    Block: Core/Dynamic Menu
    Position: Left
    Collapsible: YES
    Default state for block: Expanded
    Language: All
    _DM_DISPLAYMENUONLY = ? (my default is empty box)
    _DM_MENUSTYLE = ? (my defaut is DM_VERTMENU)

    On my home page the block reads:

    DynaMenu
    _DM_NOMENUDEFINED

    I'll post the next step as soon as I know it.

    I'm at this point in my installation as of 5/21/07 Kerry

    Here's the rest of Peter's instructions:

    Quote

    Core/dynamenu Configuration page
    *Before you do anything else, look at the URL in your browser bar. All the way on the right is a number:
    http://YourSite/index.php?module=Blocks&type=admin&func=modify&bid=16
    *Write it down - it is the block ID for DynaMenu. You will soon need it.
    *Ignore for now all the stuff in the middle that allows you to configure the actual menu items and the links - you will come back later and do this.
    *Click the box at the very bottom to make a duplicate (it will be inactive and will serve as a spare if you have troubles later).
    *Submit

    6. You now should have a block horizontal menu at the top of your Center block. The drop downs don't drop down, but do not worry.
    7. Now you are going to make a horizontal drop down appear in your PostNuke header:
    *put the following line of code with your specific block number:
    Code


    in the place within the header where you want it to be, such as where PostNuke suggests with the following code:

    Code


    *do this in both master.html and home.html (If you are using a configuration with no columns or no right or left column, you will need to do these changes in those templates as well.)

    *if you check with your browser, now, you should see the horizontal drop down menu TWICE, once as a center block and once above that at the bottom of the Xanthia header.
    8. Go to Admin -> Blocks -> and make Dynamenu inactive (to turn of the center block menu)
    9. Go to the blocks/dynamenu.php> file and make the following changes:
    *Comment out (//) $GLOBALS['dm_not_render_index'] - this gets rid of instructions NOT to pre-render in certain areas.

    *Change the next variable ($GLOBALS['dm_render_active_only'] from 1 to 0

    10. NOW you can go back to Admin -> Blocks and view all blocks and Edit Dynamenu to change how you want the menu to appear.
    11. If you now have problems with the javascript loading box persisting, fix that by removing the following code from the top of master.htm and home.htm (lines 21-45 in .761):
    Code
    /images/loading.gif"> -->
    and replacing it with
    Code

    Many thanks to Nate Welch for the great block and his help, as well as to the others who pointed me in the right direction when I hit snags.
    Peter

    edited by: pheski, Nov 09, 2006 - 10:53 AM

    -----




    edited by: Kerrith, May 23, 2007 - 03:01 PM
  • Kerrith

    It is not known whether DM 2.03 works with PN 7.6.4.

    The DM page on my site indicated it works with versions through .762, I have since updated it to indicate it works with .764 (though it's a pretty good assumption that most anything that works on .762 works on .764 ;))

    Kerrith

    Nate, the author of DM, now requires a "donation" for answers to support questions.

    To clarify, this was to deter folks from asking for personal support rather than using the public forums, as I encourage them to do, so that everyone can share the knowledge. Unsurprisingly, I get far fewer personal support requests, although there's the occasional "but we're a non-profit"... Yeah, well *you* may be non-profit, but *I'm* not :)

    As to the install instructions, I don't see how the above clarifies them to any great degree, but it's sometimes tough of course to have a proper perspective on your own creations. As for my writing style, I'll take verbosity over vagueness any day :) Good luck with the re-documentation...


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

    Cape Cod Travel Info...
  • 0 users

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