GetSimple Support Forum

Full Version: Using Menu Data
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am designing a new template and I am new to the GetSimple CMS. What I would like to do is to use the Text that I have entered for the Navigation in the Template.

I have seen <?php menu_data(); ?> but as yet I have not been able to get it to output what I want it to.

I have GetSimple 2.01 installed.

Is there a way just to directly pull out the <menu></menu> part of the xml direct?
I know this is a bit old and you may have already found the answer, but here goes:

menu_data returns an array; it does not echo.

To see it in action try this in your template:

<pre><?php print_r(menu_data()); ?></pre>

The intent of this function is to allow you to format your menu data any way you want, as opposed to get_navigation() which echos the menu information formatted as a list.
hello as I have to do to create submenus (drop down) in the main menu?
Thanks!