-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown in sidebar #40
Comments
Hi @basicchip |
I have more than 1 blog in my website. Sometimes a blog will appear as blog v But sometimes they just appear as blog I want to be able to control that, but not sure how. It worked the way I wanted accidently at CLUB BUSINESS shows the dropdown, but NEWS, COACHS CORNER, PHOTO ARCHIVE and RANKINS do not Actually this IS the way I want it to work. but this only happened by accident, and I want to control that |
Have you got NEWS, COACHS CORNER, PHOTO ARCHIVE and RANKINS visible in advanced options, in admin panel? Navigation show drop-down if the menu item is visible and has children. If you want an item is displayed in menu it should be visible. |
OK I see the difference between BLOG and PARENT MENU in your example. But I still see at times that BLOG can become a cascade in my pages I'm going to add this to macros.html.twig which will fix it in my case
Other notes - when blog items are in date descending order, seem like NEXT and PREVIOUS are really reversed, as you are going back in time in pagination and item. I'd still like to buy you some beers, but the github thinks I'm a robot, having gone through bicycle, bus, stairs traffic light and ... |
I'll review it for a future version. Maybe I need to set a conditional that checks if the blog collection is sorted ascending or descending |
@basicchip Can you put here the .md code from parent pages with children? Maybe I could see if you have the code with the correct options to show in sidebar menu. |
Grav's default behavior for navigation is as follows:
You should check if the child pages of a parent page are numbered, if so they will be shown in the menu even if there is no visible marking. |
Maybe I'm missing where it is in blog options
With dropdown in sidebar--
blog v or blog ^
item
without
blog
item
Sometimes I see (and what I want as an option)
blog --- and this one will display the blog page with max item count when selected
The text was updated successfully, but these errors were encountered: