About AllWebMenus
AllWebMenus is a powerful DHTML menu making program by Likno Software. Likno developed a free Fusion component for placing AWM menus on Fusion pages.
Note: The current component revision on the AWM site corrects this issue. Get the update!
The problem
When you place a AWM menu on your page, the component location determines where the menu will appear. During publishing, two segments of code are placed on the page. One where the component is placed and another just before the </body> tag. This location is necessary for browser compatibility. A problem arises when you place PHP code on your page that includes the string "</body>". The AWM component "looks for" the tag and places it's code just before the first one it finds.
When would you use a </body> tag within PHP code? Two examples are: 1) sending HTML-formatted E-mail using PHP. and 2) to close a page cleanly when a condition is detected and you choose to terminate a script before the entire HTML page is displayed.
The Workaround
|