?
Solved

Creating sub-menus in Joomla 1.6

Posted on 2011-09-18
8
Medium Priority
?
273 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
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 created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

764 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