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


Initial Email From:
Andrea
Initial Email Subject: menu does not show up
Support Case Month: September 2012

Hello,

I updated my menu today changing the navigation items. After uploading the zip file it does not show up anymore e.g. on this page http://www.simply-my-comfort.com/index.php/en/about-us/company

It seems like the below code for the new menu is not inserted into the html code, it is missing when I check it. When I upload the old menu again which I backed up I see below code and the menu shows up fine. I have upgraded to the latest version I was entitled too before updating the menu, I also upgraded the wordpress plugin and it is enable. The element id is also there. Please advise asap as the website is currently unusable with the navigation. Thank you!

<!-- ******** BEGIN ALLWEBMENUS CODE FOR czen_menu ******** -->
<script type="text/javascript">
var MenuLinkedBy="AllWebMenus [4]",awmMenuName="czen_menu",awmBN="866";
awmAltUrl="";
</script>
<script charset="UTF-8"
src="https://www.simply-my-comfort.com/czen_menu.js"
type="text/javascript">
</script>
<script type="text/javascript">
if (typeof(Menu)!="undefined") awmBuildMenu();
if (typeof(czen_menu)!="undefined") ProduceMenu(czen_menu);
</script>
<!-- ******** END ALLWEBMENUS CODE FOR czen_menu ******** -->

Related URL: http://www.simply-my-comfort.com/index.php/en/about-us/company

Reply From: Likno Customer Support

Hello,

This seems very weird! Are you sure you only added some menu items? Is it possible that you also changed the compiled menu name?

Can you send me the old and new zip so that I can compare them?

Regards,

Kostas

Likno Customer Support

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!

Reply From: Likno Customer Support

Dear Andrea,

I was not able to find the problem for sure, but I have a hunch that it is related to an issue I’ve seen in the past.

The new plugin tries has an extra “info.txt” file and it tries to copy a specific value (contained in that file) into the database. It is possible that it does not have access to read this file or write into the database, and hence the menu is not updated and does not work.

Do you have direct access to the database?  If so, I can give you instructions on what to look for. I will also forward this to our developers to see if they can work on a fix that would work around this issue.

Regards,

Kostas

Likno Customer Support

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!

Reply From: Andrea

Hello Kostas,

I manually inserted below code into the Joomla template index.php files for now so that the menu shows up and the website is usable.

<!-- ******** BEGIN ALLWEBMENUS CODE FOR czen_menu ******** -->

<script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="czen_menu",awmBN="866";awmAltUrl="";

</script>

<script charset="UTF-8" src="https://www.simply-my-comfort.com/czen_menu.js" type="text/javascript">

</script>

<script type="text/javascript">

if (typeof(Menu)!="undefined") awmBuildMenu();

if (typeof(czen_menu)!="undefined") ProduceMenu(czen_menu);

</script>

<!-- ******** END ALLWEBMENUS CODE FOR czen_menu ******** -->

Please let me know if you find another solution so it will be working fine for the next update. Thank you for all your help!

Andrea

Reply From: Likno Customer Support

Dear Andrea,

This is a very good temporary solution until we issue a permanent fix for the problem.

However after checking your two menus again I believe this is a very simple issue caused due to a feature we added between the two versions.

Specifically with the new version you now have an extra module that allows you to define where you want your menu to appear! The default is set by Joomla to “No pages” hence you need an extra step to make your menu show. Please check under modules to find the module:

AllWebMenus  and Joomla plugin manager

Then select a position (doesn’t really matter as the AllWebMenus positioning will be used) and in the “Menu Assignment” make sure that you select “On all pages”:

assign AllWebMenus on all pages

Note: This is also shown at the bottom of the Joomla instructions page on our site (http://www.likno.com/addins/joomla-menu.html) but I guess it is natural for older users to not think of going back to the instructions. Having said this, in your opinion what would be the best way to inform our users of such changes in the future? I am asking this as we are always trying to find better ways to resolve such issues. Any feedback would be greatly appreciated.

Regards,

Kostas

Likno Customer Support

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!

Reply From: Andrea

Hello Kostas,

As mentioned in my previous email I got to work the menu after applying below. However when I just looked at the site in Internet Explorer 9, it is still not showing up: http://www.simply-my-comfort.com/index.php/en/about-us/company

Is it possible that there is an incompatibility with IE9?

Thank you!

Andrea

Reply From: Likno Customer Support

Dear Andrea,

It seems that you have two page elements with the same ID (the one you use for positioning):

two page elements with same ID

This is considered as invalid HTML and although most browsers will use the first occurrence IE will block both, hence hiding the menu.

Please make sure that the Positioning ID exists only once in your HTML.

Regards,

Kostas

Likno Customer Support

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!

Reply From: Andrea

Thank you for your help and looking into this.

In my template code I only used:

<div id=”navigation”>

     <jdoc:include type="modules" name="top" style="xhtml" />

</div>

However for the Joomla pages it seems like after compiling the menu for the live code another

<div id=”navigation”></div> was inserted.

So I changed the template code to only

<jdoc:include type="modules" name="top" style="xhtml" />

to avoid the doubling up and it seems to work.

Andrea