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  


No background colour on topmenu - 2007/05/29 03:24 I can't seem to get LXMenu to display any kind of background in my Mambo site. I can see the menu but they are just text links.

At first I thought it was the CSS in my custom template (based on the default water and stone), however having reverted to the un-modyfied template, it has made no difference.

There is an article in the forum about this - but I don't have the priveledges to see it, sorry if you have to repeat an answer.

I'll be upgrading to pro once I get all the components needed working, then I can start building the site!

many thanks

Burty

Post edited by: burty, at: 2007/05/29 03:25

Post edited by: burty, at: 2007/12/05 21:26
  | | The administrator has disabled public write access.
Re:No background colour on topmenu - 2007/05/29 11:31 Hi burty,

you've forgotten to add few lines to your template (index.php) as it was suggested by the component when you installed it.

Please add the following code snippet into the head area of the file index.php ( between the tags <head> and </head> )

Code:

<?php if(file_exists($mosConfig_absolute_path."/modules/mod_lxmenu/css_lxmenu.css")){ ?>     <link href="<?php echo $mosConfig_live_site; ?>/modules/mod_lxmenu/css_lxmenu.css" rel="stylesheet" type="text/css"/> <?php } ?>



Best regards,
Georg Lorenz
  | | The administrator has disabled public write access.
Re:No background colour on topmenu - 2007/12/16 15:26 This worked great and I now have full control in my LxMenu admin area to color-coordinate with my site.

Now, how in the world do I use the existing CSS stylings of the old menu I'm replacing?

For instance, when my template has a really pretty "topmenu" that has a Menu Class Suffix of "-nav" under the Site Module settings, I figured I could replace that menu with one that looks the same but has LxMenu's functionality by setting LxMenu's Menu Class Suffix to "-nav" under the Site Module settings as well.

(And of course replacing the topmenu with lxmenu in the module manager too.)

But my result, after adding your code above to the index.php file, was that it ignores the -nav suffix, showing the stylings from the LxMenu admin area.

Even without the added php to my index.php file, I can't seem to find any way to use LxMenu's functionality at all with an existing menu's style.

Am I missing something?

Thanks,
Luke
  | | The administrator has disabled public write access.
Re:No background colour on topmenu - 2007/12/17 01:15 Hi lukeparker,

the css styles of your template won't be applied to LxMenu. LxMenu needs to be styled by the component.

Best regards,
Georg Lorenz
  | | The administrator has disabled public write access.
Re:No background colour on topmenu - 2008/01/07 02:23 I understand. Thank you for your help and for the great Menu system.

Quick question: Is there a plan in the future to add support for images? Such as tabs with transparent backgrounds?

Thanks,
Luke
  | | The administrator has disabled public write access.
Re:No background colour on topmenu - 2008/01/07 11:11 Hi lukeparker,

Quick question: Is there a plan in the future to add support for images? Such as tabs with transparent backgrounds?
I'm not sure yet.

Best regards,
Georg Lorenz
  | | The administrator has disabled public write access.
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)