Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating sub-menus in Joomla 1.6

Posted on 2011-09-18
8
Medium Priority
?
281 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 1000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

609 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