Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8667101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:53:19+00:00 2026-06-12T17:53:19+00:00

With my limited knowledge of Magento and PHP I have found myself possibly on

  • 0

With my limited knowledge of Magento and PHP I have found myself possibly on track but still missing the mark and hope someone can help me.

I currently have 4 categories (fibre optics, networking, test and measure, promotions) nested in the root category. The root category is a drop down menu item named ‘products’ in the main navigation.

e.g. Home | Products | Clarence | Contact Us

I would like to change this so that these 4 categories are displayed in the main navigation and their child categories are displayed as a drop down menu on rollover.

e.g. Home | Fibre Optics | Networking | Test and Measure | Promotions | Contact Us

I have tried editing the top.phtml file to display this, however I cannot nut it out.

Is anyone able to help me with this, or be able to point me in the right direction?

Any help would be greatly appreciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:53:20+00:00Added an answer on June 12, 2026 at 5:53 pm

    I have done something like this. In your case, make ‘Product’ Category as sub-category of the ‘Default Category’. Add the other categories like fibre optics, networking, etc. under sub-category of ‘Products’.

    Now, edit in your app/design/frontend/base/default/template/page/html/topmenu.phtml. Include your new menu in it : Ex:

    <ul>
    <li><a href="<?php echo $this->getBaseUrl() ?>"><span>Home</span></a></li>
    <li><?php echo $_menu ?></li>   
    <li><a href="<?php echo $this->getBaseUrl() ?>contacts"><span>Contact Us</span></a>
    </ul>
    

    Hope you got a clue now….

    Well, if you have the menu to be in the following way:
    e.g. Home | Fibre Optics | Networking | Test and Measure | Promotions | Contact Us

    change the ‘Default Category’ as ‘Product’ and Fibre Optics, Networking, etc as sub-categoies. I am not sure, changing the name of Default Category name is the correct way, but this will work..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a code. But, due to my limited knowledge. i researched and realised
I need some help with PHP Class. I have limited knowledge about how it
Since I still have a limited knowledge of LINQ, I figured I would ask
I am a beginner programmer. I have a limited knowledge of javascript, but I
I have limited knowledge of SQL so can someone let me know if my
I have a very limited knowledge on AS400 and RPG. But we have a
I recently pickup Java so I have very limited knowledge, but I would like
I have very limited knowledge of PHP so I used a contact form generator,
I have limited knowledge of php and mysql, I am trying to learn it
This sounds simple but my regex knowledge is limited. I need an expression to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.