Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14318 reviews 1707 hosting providers

Questions & Answers

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

Feb 14, 2013 by jomnew
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 votes
Feb 14, 2013 by FixHost
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 votes
Feb 14, 2013 by JoomAp
To check if the status is published or not use this code
$status = $item->status_help;
if ($status != 'published') {
    (css here )

you can try using nonumber advanced module manager