Forum Discussion
Section navigation with modern site pages
Hi,
I'm in the process of putting together a team site which will include many site pages and we need a way to navigate the "sections" of the site without putting all of the pages on the main navigation.
For instance, I can see us having about 6 pages within the employee benefits "section" and want to have a dynamic list of all of the other pages within each one of those pages so that users can browse around without going back to the "Employee Benefits" link on the main navigation.
Previously I would have done this by putting each "section" as it's own wiki library, but I'm really keen to use the modern site pages. I don't think it's possible to put modern site pages anywhere on the site other than in the Site Pages library (which, by default, doesn't allow you to make folders).
I guess I'm looking for a way to use the Highlighted Content webpart to list pages within the same section, but I'm not sure how to mark them as being in the same section in the first place. Anyone got any ideas or come across this before?
Thanks,
Sam
4 Replies
- Matt CoatsIron Contributor
You could use a View in the Site Pages library in tandem with some custom fields upon which to group to create the kind of navigation structure you want.
- Sam ChurchillCopper Contributor
Hi Matt, thanks for the suggestion. I actually tried this a few days ago and think there's one main issue with it: I found that, although I was able to add the, custom field to the Site Pages library, there didn't seem to be anywhere where I can edit the values! I've made it a mandatory field so it's giving a warning saying "Required info" but there's no-where where I can edit anything other than the Name (file name) and title.
Am I just missing the way to alter these custom fields?
Thanks,
Sam
- Matt CoatsIron Contributor
I can see how that could happen--if your view is already grouped, the "Quick Edit" button isn't available. To use Quick Edit, you have to go back to an ungrouped view and make your changes that way (not difficult, switching back and forth between views isn't so bad--as long as your users don't have to experience it).