Solved

Creating sub-menus in Joomla 1.6

Posted on 2011-09-18
8
262 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:NUKIT
Comment Utility
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
Comment Utility
>>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:
NUKIT earned 250 total points
Comment Utility
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
Comment Utility
An external link with url '#' is a nasty kludge but 'works' as you'll be able to see if you try my page
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 13

Expert Comment

by:NUKIT
Comment Utility
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
Comment Utility
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:NUKIT
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

17 Experts available now in Live!

Get 1:1 Help Now