The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Oct 16, 2008 5:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 15, 2008 9:23 pm
Posts: 14
Hi,

I'm using Joomla v1.5.7.

I have an article which includes some links to other articles at the same site. I have implemented the links using "submenu" items which parent is an entry of mainmenu.

However, I would like to 'hide' these submenu items in the main menu. I mean, I don't want to show submenus in the main menu, but I need they are published in order to show a right navigation line in the breadcrumbs, when user click on appropiate link in the first article.

Any ideas would be appreciate.

Thanks in advanced.


Top
 Profile  
 
PostPosted: Thu Oct 16, 2008 7:17 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sun Apr 06, 2008 4:44 am
Posts: 3289
Location: Seattle, WA, USA
Hi. Have you tried limiting the start level and end level of the mod_mainmenu in the Module Manager parameter? I think this would work. Hope this helps. Mark

_________________
Mark Dexter
"Well...how did I get here?"


Top
 Profile  
 
PostPosted: Fri Oct 17, 2008 4:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 15, 2008 9:23 pm
Posts: 14
This option was unknown for me. Really that was what I was looking for.

Thanks a lot Mark.
Fernando.


Top
 Profile  
 
PostPosted: Sun Jun 27, 2010 10:12 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jun 27, 2010 8:56 am
Posts: 1
Location: Hungary, Budapest
Hi. Have you tried limiting the start level and end level of the mod_mainmenu in the Module Manager parameter?
This problem of mine I cannot remove it it al menu item?
Thank you
Balázs
Hungary


Top
 Profile  
 
PostPosted: Thu Aug 26, 2010 12:55 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 19, 2007 1:09 am
Posts: 34
Location: London
As a quick hack try posting this:

.active ul
{
display: none;
}

into your CSS


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 3:47 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 18, 2012 6:23 pm
Posts: 31
Hi. Thanks for posting on this issue... I know I'm getting to this topic way too late, but I still have questions related to this, and sadly haven't found any comment pertaining it:

What if I just don't want SOME of my submenu items showing in the main menu? I mean, I'm having a case in which I don't want to hide all submenu items in a menu but some submenu items in a particular menu item... Been doing some workarounds and I still can't find a decent solution (if I unpublish the submenu item I want to hide, then the article to where it is linked to also gets unpublished, and that's not what I'm looking forward to do).

Mark's solution seems to work only if I want to hide all submenu items in a menu, but that's not my case. I need to hide some submenu items in a menu item without unpublishing the articles linked to them.

I'm using Joomla 2.5... I guess this should be done in the "Menu Manager/Edit Menu Item" but I really haven't found a solution. I guess I've tried everything there...


Top
 Profile  
 
PostPosted: Fri May 04, 2012 7:44 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 26, 2009 6:19 pm
Posts: 12
You need to assign the menuID (XXX)to the code as follows:
Code:
li#item-XXX {
  display: none;
}


The menuID is located in the far right column in MainMenu


Top
 Profile  
 
PostPosted: Mon Jul 09, 2012 4:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 26, 2009 6:19 pm
Posts: 12
Another was of doing this if you don't wish to add the above code to the template.css is as follows:

Create a new Gated Content Category to assign the article to.
Create a new article named 'Your Article Name'.
Created a new menu in menu manager named 'Hidden Menus'.
Created a new menu name under Hidden Menus to point to 'Your Article Name'.
Do not create or activate the menu module for this new Hidden Menu.

You won't see this menu anywhere and to access the article, you'll enter www.yourdomain.com/your_menu_name.html or www.yourdomain.com/your_menu_name
which also can be your inline hyperlink.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 



Who is online

Users browsing this forum: Abdullah808, Brinismom, jram1220 and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group