Enhancement Request: Topics (pages) in main menu

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hi All,

I think it would be really nice to be able to dynamically flag topics to appear in the main (top) menu, just like you can dynamically flag categories to appear in the main menu, and flag products to appear on the home page.

The way I see this working is as follows

- 2 fields would need to be added to all topics - an Include in Top menu flag, and an optional parent menu item dropdown.  
- code would be added to the TopMenu.cshtml page to pick up any topics that are flagged to appear in the main menu, just like there is currently code to include categories in the main menu.

That way any topics that are flagged to be added but don't have parent menu items will appear on the main menu, but any items that are flagged and do have a parent menu item selected, would appear as a sub-menu item of the parent menu item.

This would then give NOPCommerce much more usability as a full CMS - being able to add pages AND add menu links for those pages without going into the code would allow non-tech people to add content to the website.

And to me, the above modifications don't seem to be that big a deal.

Just my thoughts, what do others think?

David.
9 years ago
Thanks a lot. It was suggested before but for some reasons I cannot find a work item. So I created a new one. Please vote here
9 years ago
a.m. wrote:
Thanks a lot. It was suggested before but for some reasons I cannot find a work item.  here

think it was this: http://nopcommerce.codeplex.com/workitem/11191
9 years ago
Done. Please see changeset 5a50a9d507b2
9 years ago
Thanks Andrei

Very nice feature that you added.

Any thoughts on allowing multiple parent elements for topics on the menu (same approach on how your doing categories = parent/child)?  This would allow grouping of content and would be quite useful for CMS capability.
9 years ago
ChuckR wrote:
Any thoughts on allowing multiple parent elements for topics on the menu (same approach on how your doing categories = parent/child)?  This would allow grouping of content and would be quite useful for CMS capability.

It'll require topic implementation chnages similar to categories. I'm not sure that it'll be available out of the box.
9 years ago
a.m. wrote:
Any thoughts on allowing multiple parent elements for topics on the menu (same approach on how your doing categories = parent/child)?  This would allow grouping of content and would be quite useful for CMS capability.
It'll require topic implementation chnages similar to categories. I'm not sure that it'll be available out of the box.

A simpler approach, but not so flexible, would be to have the chance to associate a topic to just one parent topic, similar to associated products to a grouped product.
9 years ago
Eduardo,

The simple approach you have suggested is what I originally suggested at the start of this topic, I believe this is what Andrei has implemented.

David.
9 years ago
Thank you David.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.