Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.
Initial Email From: Eric
Initial Email Subject: Allwebmenus variable
Support Case Month: May 2012
I’m trying to pass a variable to a PHP file from allwebmenus. Is this possible and if so How?
Eric
Reply From: Likno Customer Support
Dear Eric,
Can you please give me some more info regarding your Use Case? Do you only want to pass a parameter from AllWebMenus to a PHP page, or do you also need to pass a different parameter depending on the current PHP page?
For example if you have a link like:
mypage.php?id=124
This is passing a parameter to the PHP page. Is the parameter value fixed though, or do you want the parameter value to be determined by the PHP?
If the second applies, then you basically need a “dynamic” menu. There are several different ways to achieve this:
1) Using the Server Side Menu API Add-in. This is the most powerful method as it lets you do anything you want, but it requires some programming knowledge as you basically have to build the menu yourself using JavaScript (that is typically generated by your PHP script). For an example of server-side menus, you can have a look here:
http://www.likno.com/addins/dhtml-menu-serverside-example.html
2) Using “Custom Variables”. This is probably the best option if you want only one (or a few) item to be dynamic. You can have a JavaScript variable in your page (e.g. “var myid = 124;”), which you can “write” with PHP, and then use this within AllWebMenus in the Link field value (e.g. “mypage.php?id=<awm:myid>”). You can read more about this method in the Help file if you search the Index for “Custom Variable”:

3) Using a UL/LI menu. This is an easy way to have a fully dynamic menu regarding the content (but it does not allow any customizations regarding the style). In a UL/LI menu, the structure, links etc. of the menu are not defined within AllWebMenus, but are instead parsed from a UL/LI structure in the page. Hence you could use PHP to write the UL/LI structure you want every time. For more details on this, please read the related Help section:

Let me know if you need more specific help with something.
Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter
Tags: add-in, API, css menu, drop-down menu, Dynamic Menu, file, item, JavaScript, javascript menu, jquery, link, Menu, parameter, pass, PHP, script, server side, sliding menu, variable, website
Hey everybody,
We have released a new version of AllWebMenus Pro: Version 5.3 build #866.
Check out What's New:
- Improved iPhone support. Now if you "touch" an item with an open submenu, the submenu closes.
- Improved the behavior of "floating menus" so that their movement does not appear flickering.
- In "Link Compiled Menu..." the filetype dropdown box now remembers the last user selection.
- Added the ability to change the Start Menu group during the installation.
- Fixed an issue where the "Advanced Floating" feature with the "Instantly" option did not work properly. Also, changed the behavior so that if the "Floating Movement Ends" object doesn't exist in the page, the floating ends at the end of page.
- Fixed an issue where a warning appeared related to an "aRsF function" (Safari only).
- Fixed an issue where the "Unfolding effect" did not clip subgroups as it should (Opera 11+ only).
- Fixed an issue where the Generic Sitemap did not work properly. Also the default view changed.
- Fixed an issue where a group didn't appear on mouse over of parent item, if this item was auto highlighted without opening the group automatically on page load.
- Server-Side menus set to have "cursor: auto" now have "hand" instead of "arrow" for all dynamic items.
Download the new version at http://www.likno.com/download.html
Tags: css menu, Dynamic Menu, floating menu, iphone, Link menu, sitemap, unfolding menu
Hello everybody!
We wanted to inform you that we have released the latest version of AllWebMenus Pro - version 5.2 Build #794.
It includes some fixes and improvements that enhance the program's functionality:
- Fixed an issue related to specific offsets for Opera.
- Fixed an issue where items with submenu image would affect the total width of a horizontal menu.
- Fixed an issue where "mailto:" links did not work correctly in IE.
- Added an option for "Automatically open last edited project when opening AllWebMenus" in the "File" menu.
You can download the latest version at:
http://www.likno.com/download.html
Enjoy!
Tags: AllWebMenus, AllWebMenus Pro version 5.2 Build #794, Build #794, css menu, database driven menu, dhtm lmenu, Dynamic Menu, IE, javascript menu, mailto:, new release, open last edited project, Opera, sliding menu, submenu image
AllWebMenus Pro has the "Link Target" property. This property specifies the frame, iframe or window where the page specified by the "Link" property (of the menu item) opens. The image below shows the various options of the "Link Target" property.

If you choose option "_blank" the page specified by the "Link" property of the menu item will open in an new browser window. You can define the properties of the opening window selecting the option "use parameters". Then you have to click on the "use parameters" option and a window like the image below will appear and will allow you to customize the browser window.

Tags: AllWebMenus, allwebmenus pro, browser window, CSS, css menu, CSS menu maker, customize browser window, dhtml, dhtml menu, DHTML Menu Maker, Dynamic Menu, frame, iframe, JavaScript, javascript menu, JavaScript Menu maker, Liknk target property, link, Link property, Link Target, pop up window, window
A lot of customers that are using the Sliding Menus add-in of AllWebMenus Pro, define their DHTML menus in such a way where the menu system can remember their expanded/collapsed state, when browsing through different pages. For example, when they expand a menu's item, the expanded menu keeps this state after navigating to a different page.
The Sliding Menus add-in of AllWebMenus Pro can easily implement this functionality. You just have to go to the "Style Editor" of your DHTML menu maker and choose the "Sub Groups Style" (or in the "Sub Groups Style+" if you want this functionality to be applied in the menu items that belong to a level greater than two) from the "Available Styles". Afterwards, you have to click on the "Type" property and check the "Remember the menu state..." option as shown in the image below:

If you want this setting not to be applied globally (i.e. you want your menu system to remember the expanded/collapsed state for some of your menu items and not for all), you must use the "Menu Editor" and not the "Style Editor". Then you have to choose each item you want to have this behavior, click on the "All Values" button and define its "Type" property as shown above.
Tags: AllWebMenus, allwebmenus pro, collapsed state, css menu, dhtml menu, DHTML Menu Maker, Dynamic Menu, expanded state, expanded/collapsed state, javascript menu, Menu Editor, remember expanded/collapsed state, sliding menu, sliding menu add-in, style editor, Sub Groups Style, Type property