collective / collective/plonetheme.bootstrap

Configuring homepage_sections

Open
#28 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I'm trying to configure this as a "normal" bootstrap menu, so for a section with children I have added a clickable version of the section so that the "section" click open it and the first item takes the user to the folder. That works fine.

The issue is items in the dropdown which themselves have children, which are inactive. Is there a recommended way to address this? I had thought that setting bottomLevel would control the depth but apparently not. I don't see an elegant way to customise homepage_sections to fix these (I do see an inelegant way!), but since the default behaviour gives "dead" menu items, I wondered if I was overlooking something?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the homepage_sections implementation and reading how bottomLevel is handled for nested children. Reproduce the inactive dropdown-item case and determine the expected navigation behavior; done means documenting or confirming a configuration or change that prevents dead menu items.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.