Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Top links in horizontal navigation to be inactive
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Hi,

i have a horizontal navigation in my store with a few sub Categories which drop down the navigation.  How do i make the first option in the navigation if it has sub Categories be inactive.

Just like the admin navigation.

Hope someone can help. I am lost with this one wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Does anyone know.  Please help..

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Any Ideas?....................................................

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Still no answer. Can it be done?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

You will need to customize app/code/core/Mage/Catalog/Block/Navigation.php method drawItem()

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
jan212
Guru
 
Avatar
Total Posts:  332
Joined:  2008-01-03
 

I made a small modification on method drawItem() to hide navigation points from human eyes.

See the full wiki article/how-to here:
http://www.magentocommerce.com/wiki/hide_navigation_item_s_with_css

 Signature 

---
Wichtiger Hinweis: Wer Visionen hat, sollte zum Arzt gehen.
Nuff respect to Stefan B.- he’s the ultimate magento pope.
---
Kein Support per PM
---
Gruß/ Greetings/ Groetjes
Jan F.
---
commercial: null212 | Büro für Kommunikation und Design
privat: Nörd1

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauljg1
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2008-02-22
 

Thanks........................... wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
DDMAN
Sr. Member
 
Total Posts:  104
Joined:  2008-01-08
 

I like the method but I’m wondering if this is a feature that will be added to the core such that when creating a subcategory or Category in admin you have a category attribute that says something like “include in navigation menu?” and you can toggle it yes or no.

In the past when I have started changing the core code of my ecommerce application it made it nearly impossible to upgrade and maintain because we didn’t keep track of our source code edits very well. I’d rather wait to see if there is a method to accomplish this that doesn’t change core code or if this in on the roadmap for development?

Anybody else have this need or have a comment on how to accomplish this without altering the core code.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53194 users|734 users currently online|107226 forum posts