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

x
?
Solved

Joomla 1.5 Problem With Menu Item <li> Being Marked Current with id#current

Posted on 2008-06-09
2
Medium Priority
?
1,615 Views
Last Modified: 2008-08-26
I have a main menu that I positioned at the top of my template and styled with tabs. Its easy to make a selected tab appear selected, Joomla marks <li> with an id#current.

I also created a new menu in a column called "Services". I have all the services listed link to a specific article about that service (Article Layout) Each article is in Section>>Services, Category>>Services

One problem occurs when someone clicks on one of the links in the Services menu. Nothing in the main menu gets id#current and all of the tabs appear unselected.

I tried putting an menu item in the main menu titled "Services" and making the type Articles >> Category Blog and it didn't work. When an article in that category was selected in the Services menu, it didn't get id#current in the top menu. I also tried making it type Articles >> Section Blog. Didn't work.

Even worse, when I click on a service in the side Services menu, the url is mydomain.com/service-explained.html. But when I click on Services in the main menu, and then click through to a service, the url is mydomain.com/services/51-service-explained.html. This creates a major duplicate content issue.

How can I solve this problem?
0
Comment
Question by:gwkg
[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
2 Comments
 
LVL 3

Accepted Solution

by:
retrouprising earned 1500 total points
ID: 21904407
id#current is set by the Itemid in the URL. If it is missing or wrong then the tab will not be selected.
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

610 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