Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Folder either shows empty page or 404

Started by AquaL1te 8 years ago · 1 replies · 494 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 Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago