I had a look through the files that deal with the navigation links but can’t see any duplicate code that would result in the double navigation bars. Also the static block with additional links to CMS pages is no longer appearing. Any thoughts?
Ah, taking a look at the code, looks like they’ve changed the way they do the top navigation. Now uses the page/html/topmenu.phtml template. So if you’ve imported your own theme, it’ll be using both. You’ll need to adapt your theme.
The reference to the top nav has been moved from catalog.xml to page.xml. If your theme does’t have the page.xml it will default to the base theme and display two nav bars.
Solution:
move top.phtml from:
app/design/frontend/default/mytheme/template/catalog/navigation
to and rename to topmenu.phtml:
app/design/frontend/default/mytheme/template/page/html
remove from app/design/frontend/default/mytheme/layout/catalog.xml:
I’m using Magento with a local installation (MAMP) for the development of a Ecommerce website.
I have upgraded Magento v_1.6.1 to v_1.7.0 manually by copy & paste in the Magento Directory, followed by a general installation (general parameters and database) as required.
After installation, i have discovered the top navigation menu disappeared. I have tried to follow these instructions but the top menu is always disappeared. My template has no specific catalog.xml and page.xml.
It seems the template is needing to be adapted but I don’t know how !!!
Could you let me know how to update and adapt the template.
Thanks for your prompt answer !
Regards
The reference to the top nav has been moved from catalog.xml to page.xml. If your theme does’t have the page.xml it will default to the base theme and display two nav bars.
-snip
Hope this is helpfull
Hi MrFeelgood. My googling lead me to your post. Thanks for the spot-on solution. You rule.
COPY
- catalog.xml and page.xml
from
- base/default/layout
to
- default/mytheme//layout
Cleared the cache and my top menu reappeared!
I was going to do the editing in these files which was suggested above but I didn\’t need to. Also, I didn\’t need to
move top.phtml from:
app/design/frontend/default/mytheme/template/catalog/navigation
to and rename to topmenu.phtml:
app/design/frontend/default/mytheme/template/page/html
as suggested by MrFeelgood.
Again, I was going to do these but didn\’t need to