Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.


Initial Email From:
Richard
Initial Email Subject: Where is general Joomla code
Support Case Month: April 2014

Rather than using the Joomla interface with AllWebMenus I want to place the code page by page.

I did start using the Joomla upload and I know it places your code in some general location which is then written to each and every page on execution.

Where is the general code so I can delete it and use the old method of placing the code by page using the kink information.

Richard

Reply From: Likno Customer Support

Hello Richard,

In order for a menu to appear on your pages you need to have placed the linking code (right after the <body> tag) and its positioning code (if not window relative is selected).

You can find the menu linking code by going to Link Menu and then choose "or give me the code to add it myself". Copy that code and paste it to your template file (most probably header.php) that will serve the menu to all the pages you want.

In general the menu linking code looks like:

<!-- DO NOT MOVE! The following AllWebMenus linking code section must always be placed right AFTER the BODY tag—>
<!-- ******** BEGIN ALLWEBMENUS CODE FOR swmenu ******** –>
<script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="swmenu",awmBN="934";</script><script charset="UTF-8" src="swmenu.js" type="text/javascript"></script><script type="text/javascript">awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR swmenu ******** -->

Where highlighted you need to have your values according to your menu project.

Also, you need to add the positioning element to your pages so that the menu can be displayed.

Please, let me know if I can be of further help.

Kind Regards,

Aggelos Tsakonas
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!

Tags: , , , ,