1,105,406 Community Members

Different Joomla Template Overrides For Different Joomla Menus

Member Avatar
web_master
Light Poster
28 posts since Aug 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
blocblue
Practically a Posting Shark
828 posts since Jan 2008
Reputation Points: 238 [?]
Q&As Helped to Solve: 162 [?]
Skill Endorsements: 16 [?]
Featured
 
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?

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: