Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Folder either shows empty page or 404

Started by AquaL1te 8 years ago · 1 replies · 853 views
8 years ago

When I create a folder it shows up as a menu, as it should. But when a user clicks on it, it opens a blank page. When I disable routing it becomes a 404. How can I just create a menu item which doesn't link to anything? What I want to setup is that when someone clicks on it, it only expands the menu, nothing more.

At the moment I created page redirects to one of the folder items in order to hide this problem. But it's not pretty. Also the TNT Search has some problems with this, when I type in a keyword which is a redirected folder, the page deforms.

8 years ago

The dropdown menu feature is not, as far as I can tell, included in the core Grav code. It is implemented only if a theme includes it as an option. From my understanding, the Antimatter theme has it (off by default) but I am not sure about other themes.

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago