Hi,
First of all, any answer to this question isn't easy, because the answer has implications in the way how you structure your website. I really recommend you to get in touch with someone how's already done that.
Then, the standard way to build a navigation is just by structuring the pages into hierarchies. The pages on the top level become the menu items, and the pages beneath these top level pages become the sub-items. This approach is recommended by Adobe and also implemented for example in Geometrixx. It has a number of pros and cons:
- You don't need to maintain a navigation structure manually; if you place a page on the site at the right place, it will appear in the navigation immediately.
- A website is always structured in a hierarchical way, and this approach is reflected by the JCR page tree, and the URL namespaces.
- Therefor each page "has its place", both from a hierarchy point of view, but also from a content point of view. Why do you want to appear the same page at 2 different places? What about SEO?
The negative aspect of this approach:
- Your structure is rather static, because changes to the navigation means changes to the site structure means changes to URLs. And that's something you'd like to avoid.
So, it looks like that this approach isn't the right match. But your requirement doesn't make sense to me. If a page appears on multiple locations in the navigation, the content doesn't really fit. I also don't get your example about the laptop page being displayed both under "computers" and "electronic gadgets". Do you really want display the same content in both places.
So, please get in touch with someone experienced in that domain. I don't recommend another approach, because in the long term they cause problems as well (normally bigger ones).
kind regards,
Jörg