Solved

Creating sub-menus in Joomla 1.6

Posted on 2011-09-18
8
263 Views
Last Modified: 2012-05-12
Please see http://www.mells.biz

Before 'Contact' on the main menu, i would like to have a drop-down menu, called Business with a number of sub-menu items

I don't want to enforce that the root menu item 'Business' be linked to an article if possible.

Can i implement this in 1.6 without extensions, and if so, how?
0
Comment
Question by:CEHJ
  • 4
  • 4
8 Comments
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36560241
You can do this and it looks like you are pretty close to accomplishing this.

Here's what I would do.

Create your new article and link the business menu item to the new article.

If you are looking for other menu items under the business menu item, create more articles or link those menu items to other components just like the accomodations page is linked.
0
 
LVL 86

Author Comment

by:CEHJ
ID: 36561324
>>Create your new article and link the business menu item to the new article.

Well i don't want to do that really. It would just be a redundant article. If absolutely necessary, i could try a null or self link, so clicking on the Business link itself did nothing.

I suppose it just surprises me that a mature cms can't create nested menus properly...
0
 
LVL 13

Accepted Solution

by:
Andrew Derse earned 250 total points
ID: 36561374
Sorry I completely misunderstood what you needed.

Here's how you can accomplish what you need then.

Instead of pointing that menu item to an article change it to point to an external URL and then simply put # in the url position.

Please see image below.
 #
Is this what you were looking for?  This way, if anyone clicks on the main Business menu they don't get redirected anywhere...and they can still see the links that appear in the drop-dwon menu.
0
 
LVL 86

Author Comment

by:CEHJ
ID: 36561646
An external link with url '#' is a nasty kludge but 'works' as you'll be able to see if you try my page
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36561742
So will this be acceptable for your solution?  It works and is the only way that Joomla will do what you want it to do.  Sometimes you have to use nasty kludges to get a FREE CMS to work just the way you want it to.
0
 
LVL 86

Author Comment

by:CEHJ
ID: 36561867
NUKIT, i'm sorry - i didn't see http:#36561374 before i posted the comment that follows it, having not refreshed the page ;) Nonetheless, i will accept your comment as the answer if no-one else can show me a way to avoid the kludge - and probably in this case it's not enough of a kludge to warrant installing an extension to avoid.
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36569346
Don't know if this is going to help or not, but I use a program to style some of my websites called Artisteer 3.0.  One function of the program allows you to "click" on a menu item and then it displays the submenus.

This allows you to do exactly what you want it to do, without linking it to an article or have the # in the url show up.  

The downside is that Arstisteer isn't free.  So with that said...maybe you can program this into Joomla or install a template that can do this for you out of the box.  Just an idea.
0
 
LVL 86

Author Closing Comment

by:CEHJ
ID: 36569723
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now