We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Different Joomla Template Overrides For Different Joomla Menus

I am using Joomla v1.7 and the mod_mainmenu is now mod_menu (I think, because there is no mod_mainmenu in the modules folder). In my site I have two menus like most sites, one in the header and another one in the footer. The header menu is a lot more complex with drop downs, while the footer menu simply has four links. I am in the process of overriding the mod_menu template for the header menu but that would also render the same overridden html for footer menu.

How do I make two separate overrides for two separate menus. In the footer I was thinking of hardcoding anchor tags, but that would make it difficult for my client to add or remove links from the footer. How do I do this? Is it possible?

Thanks!

I appreciate the help.

2
Contributors
1
Reply
13 Minutes
Discussion Span
1 Year Ago
Last Updated
2
Views
web_master
Light Poster
28 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I'm not too familiar with Joomla, but could you not check the name of the menu being rendered, and if it's the header, use one template, otherwise use the default?

blocblue
Practically a Posting Shark
837 posts since Jan 2008
Reputation Points: 272
Solved Threads: 161
Skill Endorsements: 12

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0716 seconds using 2.65MB