Solved

Ammending the way menus are output in Joomla!

Posted on 2011-02-28
2
546 Views
Last Modified: 2012-05-11
Experts,

Im trying to incorporate a css menu into a joomla template.

Im trying to edit the way joomla ouputs the menu to get this format:
......
<ul id="qm0" class="qmmc">
      <li><a class="qmparent" href="javascript:void(0)">xxxxx</a>
            <ul>
            <li><span class="qmtitle" >yyyyy</span></li>
.......

I can change the id in the menu parameters easily enough, the problem comes when trying to change the class. Joomla always seems to output [class='menu'] then allows you to add a suffix, but i cant seem to see how to edit the first bit i.e. [class='qmmc']. Can this be changed?

Also is there a way to alter the actual template of the menu?

Regards
Easynow
0
Comment
Question by:Dean OBrien
2 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 35001213
0
 
LVL 12

Author Closing Comment

by:Dean OBrien
ID: 35009584
Great thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

747 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

11 Experts available now in Live!

Get 1:1 Help Now