How can I Check if my a specific menu item is enabled in Joomla 2.5

56 views
asked Feb 14, 2013 in Website Builder by jomnew (2,180 points)
Hello
I  am using Joomla 2.5 and I have a main menu with2  links in a dropdown list. I also have another menu that in a module . I want to be able to publish the menu items in one menu only and the second menu items would be like an alias to those items. Now how do I check if the menu items are enabled in the main menu. Any suggestions?
Many thanks

2 Answers

0 like 0 dislike
answered Feb 14, 2013 by FixHost (12,380 points)
Make both modules read the same menu, and  instead of using each sub item,use a single alias menu item for the parent item.
0 like 0 dislike
answered Feb 14, 2013 by JoomAp (5,660 points)
To check if the status is published or not use this code
Code:
$status = $item->status_help;
if ($status != 'published') {
    (css here )
}


you can try using nonumber advanced module manager
...