Solved

Creating sub-menus in Joomla 1.6

Posted on 2011-09-18
8
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Change Joomla Logo Graphic This tutorial goes over the steps to change the Joomla Logo in the template you are using. For this example we will be assuming you are using the rhuk_milkyway Joomla Template which is installed by default. You will …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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