Fork me on GitHub

Name of dynamenu the file to add "echo" code?  Bottom

  • I uninstalled and reinstalled dynamenu 2.03 and got stuck in Nate's readme.txt at Output the Dynamenu "footer":

    The instructions for using an Xanthia theme read:

    Quote

    Xanthia Themes: If you are using Xanthia themes, you can include the PHP to output the menu footer directly in the .html template for your site with the following code place just before the closing tag:


    echo $GLOBALS['dmfooter'];


    Again, if you are using more than one theme for your website, or have more than one "master" theme for your Xanthia theme, you must output the footer variable in any template you plan to display a drop-down/fly-out menu.


    What's the name of the file that I insert the above echo?

    I'll only be using the Xanthia theme named "PostNuke"

    Thanks, Kerry
  • Never used it before, but how about

    Code

    <!--[php]-->
    echo $GLOBALS['dmfooter'];
    <!--[/php]-->

    Just before your < / body >< / html > in your home.htm and master.htm

    - Igor
  • Hi Igor,

    I browsed the files and directories and found a file named master.html in includes/themes/PostNuke/templates. I inserted the code just before the < /body > but thought I ask to be sure before I try it. I know how some code changes make code changes in other files without me knowing it so I thought I double check with you to make sure this is the master you have in mind. I'd hate to have to do a clean install again because I edited the wrong master.html. I've installed PN at the root level.

    I didn't see a file named home.htm but there are so many folders that I might have missed it.

    Here's Nate's readme (install) instructions. He uses a different format for writing so I'm having a difficult time understanding them. He won't answer questions unless one "donates" up front.

    Thanks, Kerry



    edited by: Kerrith, May 20, 2007 - 11:17 AM
  • Try this link for some instructions on trouble shooting the install of DynaMenu.

    I keep meaning to add it to the Wiki somewhere - just can't quite figure out where info about third party stuff should go.

    HTH

    Peter

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • That's great, all sorts of new sources. Guess I'll stick with it some more.

    Thanks Peter,

    Kerry
  • 0 users

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