I have about 100 CMS pages in magento and about 150 products divided into 30+ categories. I want to have the ability to create menus (both in the top navigation) as well as the left nav for those content sections. Currently the top nav and left nav are dynamically created from the catalog only.
Here is what I got + two proposed solutions…
I have the following content sections
- about us
- contact us
I have the shop section of the website which includes the products and categories.
Problem: I want to have a top NAV that says SHOP | RESOURCES | COMMUNITY | NEWS | ABOUT US | CONTACT US
I also want a left hand nav such that when someone clicks SHOP the left nav only displays the categories and products in SHOP. When someone clicks on Resources it only displays the subsections and content pages in the left nav associated with RESOURCES. Currently the top nav and left nav are dynamically created from the catalog.
How can I solve this problem?
Solutions: (choose your favorite and vote for it in the poll above)
Create a static block for each of the following menus: resources, news, community, about us, contact us. Hand code the menu to link to the correct CMS pages and hand code the style such that it would float left in a CMS page when included at the top of a CMS page of content. Then Include the static block call on all CMS pages that you want that menu to appear on. When you need to change the menu you change it in the static block and it will update on all the CMS pages. For the Main Nav you would have to remove the dynamic code and hard code the main nav to include the CMS pages.
Pros: You can use CMS pages still, it separates content from products and categories
Cons: manual changing of all menus when changes are made to content pages or new pages are added.
Create categories and subcategories for all your content pages. Set the categories to StaticBlock only and then either put the content in the category description or put it in a static block. If you put it in a static block then you will need to associate that static block to the category or subcategory that you created.
Pros: You can use the dynamic menus and create 2nd, 3rd level dynamic menus for products and content all together. No manual coding necessary
Cons: Mixing content with the catalog, having content in static blocks associated with categories may become hard to manage long run.
Do you have a different solution? What do you think about these two solutions? I’m trying to decide which one is better to use to get my content working and available in Magento. I hesitate to put my content pages in as categories because they are not categories… it just doesn’t feel right. Yet from a technical standpoint it looks like it will solve all my navigation menu issues and still be SEO friendly.