Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Folder either shows empty page or 404

Started by AquaL1te 8 years ago · 1 replies · 684 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 jeremycherfas, 4 days ago
2 86 15 hours ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 215 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago