Main Menu
Main Menu

Lxmenu Error: Either the menu does not have any menu items or all menu items are unpublished!

Login
Newsflash
27/02/2006: A comparison table showing you the differences between LxMenu Pro and NGMenu
 
25/03/2007: New version of LxMenu Pro (1.24) released.
 
20/04/2007: NGMenu 1.3.2 released. Supporting now three item states (normal, hover and active).
 
Home
Horizontal demo (main items with different width, centered, fading effect)
Horizontal demo (main items with different width and sub items with dynamic height, right aligned, fading effect)
LxMenu Forum  


<< Start < Prev 1 2 Next > End >>
Depricated Code - 2007/10/08 05:54 When I use the joomla1.5 installer I get the message

"mosAdminMenus::menutypes method deprecated"

Is there a work around for this problem?
  | | The administrator has disabled public write access.
Re:Depricated Code - 2007/10/08 10:42 Hi g0000z,

for now (until 1.5 final was released) you have to use it in legacy mode.
Please go to "Extensions/Plugin Manager" and publish the plugin "System - Legacy".

Best regards,
Georg Lorenz
  | | The administrator has disabled public write access.
Re:Depricated Code - 2008/01/31 21:23 I have the same problem and I have legacy mode turned on.

I've uninstalled and reinstalled several times hoping the problem would magically disappear.

These are the two Errors I get in the Component module of the admin.

# mosAdminMenus::menutypes method deprecated

Warning: Invalid argument supplied for foreach() in <snipped_absolute_path>/administrator/components/com_lxmenu/admin.lxmenu.php on line 109

When I try to select a menu in the components admin panel it does not list any menus to select.

This is an awesome component and was working beautifully before migrating over to 1.5. I can officially say I hate 1.5 at this time even with legacy mode modules and components still don't seem to work as well. Any help would be seriously welcomed. Thanks in advance!! If you need any other information to help with the diagnosis of the problem let me know, I really want LX menu to work on my site.
  | | The administrator has disabled public write access.
Re:Depricated Code - 2008/02/01 10:08 Hi natefeb,

if it doesn't work for you in legacy mode then you'll have to wait for the new release being natively compatible to Joomla 1.5.
I'm sorry but I can't do anything yet. But it is really strange that the legacy mode is not working as expected.

Best regards,
Georg Lorenz
  | | The administrator has disabled public write access.
Re:Depricated Code - 2008/02/01 23:12 No problem thanks for the reply. Migrating to 1.5 is more of a pain than I ever imagined. I don't think I'll be upgrading any of my other joomla sites anytime soon the headache is not worth it. Like they say if it's not broke don't fix it. I only upgraded this site because the person I work for requested me to.

Anyway thanks again I'll be looking for the release when you get to it.
  | | The administrator has disabled public write access.
Re:Depricated Code - 2008/02/05 20:14 Hi I ran into the problem also. there is a solution:

open the file admin.lxmenu.php

make changes in the Beginning of file after:

/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

insert new code:

// need JmenuHelper::getMenuTypes as mosAdminMenus::menutypes method is now deprecated
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_menus'.DS.'helpers/helper.php' );

then find:

$menutypes = mosAdminMenus::menutypes();

it is somewhere at line 110

and replace with:

$menutypes = MenusHelper::getMenuTypes(); // icancreative.de FIX

This gives back functionality. The Layout of component in Backend is still disturbed, but works.
  | | The administrator has disabled public write access.
<< Start < Prev 1 2 Next > End >>
Vertical demo (pop on click with transparency)
Vertical demo (expanding to the left side, right to left text direction)
Vertical demo (expanding to the left side, left to right text direction)