Closed toastyghost closed 9 years ago
Hey @toastyghost - thanks for stopping by! Please could you check out our contributing guidelines and submit feature requests to the the publish wishlist. Hierarchical navigation is generally complicated and breaks easily - it also makes theming considerably harder. This is the main reason we haven't looked at it in any serious way yet. That being said, you can still create hierarchical menus right now by simply coding them into your theme rather than using the navigation helper.
Thanks for pointing me in the right direction, just discovered this today so hadn’t really gotten too deep into supplementary content like those guidelines. Someone already made a wishlist item for hierarchical nav, so I put some votes into that instead of duplicating it.
Philosophically, I think this is a no-brainer if your team’s intended direction is toward websites rather than just single-page blogs. (Which it seems to be based on the inclusion of features like static pages and a nav editor, but I may be misreading.) I’d really love to see Ghost as an eventual alternative to WordPress for churning out a quick site for a pet project or a client with a limited budget. Hierarchical nav is a little too ubiquitous to skip if it’s ever going to be viable for such scenarios, and having to hard-code the nav myself in a situation like that would just make me wonder why I was using a site manager to begin with.
I’m not an Express guy, so I can’t speak to the server-side implementation, but I really don’t understand why you say it would make theming difficult if you generate standard nested markup. And for base themes, I think it’d be an extremely safe assumption that anyone going deeper than a third level is making a complex enough site that they were probably already planning on a lot of custom CSS.
Thanks again for your time and I’m looking forward to seeing the evolution of this project!
From: JohnONolan [mailto:notifications@github.com] Sent: Tuesday, April 14, 2015 10:17 AM To: TryGhost/Ghost Cc: Josh Clark Subject: Re: [Ghost] Multilevel navigation menu (#5142)
Hey @toastyghost https://github.com/toastyghost - thanks for stopping by! Please could you check out our contributing guidelines https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md and submit feature requests to the the publish wishlist http://ideas.ghost.org . Hierarchical navigation is generally complicated and breaks easily - it also makes theming considerably harder. This is the main reason we haven't looked at it in any serious way yet. That being said, you can still create hierarchical menus right now by simply coding them into your theme rather than using the navigation helper.
— Reply to this email directly or view it on GitHub https://github.com/TryGhost/Ghost/issues/5142#issuecomment-92867958 . https://github.com/notifications/beacon/AAMdu0GjNL44N_yRZsGQd3k0YPh0KY-zks5n_RjjgaJpZM4EAQpn.gif
Just wanted to chime in here and clarify that the navigation menu, as well as the static page feature that you mentioned in your other issue are both very deliberately basic. They're only intended to support adding simple pages, like about or privacy to your blog or publication. Ghost isn't intended to be a WP clone, it's just a blogging platform :wink:
@JohnONolan sorry to comment on an old issue, I was hoping you might be able to expand on this a little:
you can still create hierarchical menus right now by simply coding them into your theme rather than using the navigation helper
I am reasonable fresh to the theme aspect but I can't see how its currently possible https://themes.ghost.org/docs/navigation
Really I just want to have a second menu with tag categories. e.g have a secondary nav with tags: photos, opinions, tutorials, etc. (4 -8 tags) but I dont want to display all my tags. (and I dont want to use hidden tags)
@oscarmorrison You'd need to code that into the theme statically, eg:
<ul class="main-nav">
<li>thing</li>
<li>thing</li>
<li>thing
<ul>
<li>subthing</li>
</ul>
</li>
<li>thing</li>
</ul>
For multilevel navigation, a related feature would be hierarchical tags, similar to hierarchical categories (which are usually implemented with a "Parent" field for tags/categories):
Would love to be able to drag nav items horizontally to hierarchize them, along with some kind of sensible default styling on the public-facing side.