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

Newbie

Started by Muut Archive 11 years ago · 13 replies · 387 views
11 years ago

I just took over a Grav site where I need to fix and finish the site. I have been reading the documentation and it has the admin panel installed and working but I can't figure it out. My biggest issue right now is that the drop down menu does not work when I add a new page. If anyone could take a quick look it would be amazing.. I know the last dev did a lot of customization to the header so maybe that is the problem? dev.aiso.net Thanks!!!

11 years ago

Not every theme necessarily has support for a dropdown menu. If your site has a theme based on Antimatter theme (default one that ships with Grav), then chances are the theme configuration (click on the theme preview in the menu) has a toggle to enable dropdown menu.

After it's enabled, you then create child pages to create items for a dropdown.

If for some reason the theme does not have support for a dropdown menu, you could probably use the Antimatter theme as a sample of how to implement one.

11 years ago

Thanks for the response. I'm not seeing the theme preview but it is antimatter and the drop down is enabled in the antimatter.yaml

11 years ago

If your continuing to have trouble, put a zip of the entire site on dropbox and send me the url to download to 'rhuk at getgrav dot org'

11 years ago

Do you just need the user folder or the whole site? Thank you

11 years ago

easier if its the whole site as i can just unzip it and test.

11 years ago

alright, I'll send it via wetransfer. Thank you for the help

11 years ago

Looking at your site, I don't see any child pages under your top level pages. So there are no pages to show in a dropdown.

Also I've notice you are running a heavily modified antimatter theme. This is pretty dangerous because if you were to update antimatter, you would lose all your modifications. I strongly suggest renaming antimatter (and antimatter.yaml, antimatter.php, and in blueprints.yaml) etc. to something unique, perhaps alsonet or something.

11 years ago

I appreciate that for sure. I'll get that handled. I just published the child page dedicated hosting. I had it unpublished. Please check now

11 years ago

2015-09-17-12-wfhob

This is screenshot of your page structure. All the pages are top-level, i.e. they are at the same level, which is why they are displayed across the top in your menu. You need to create a folder, and page markdown inside that, inside one of those top level page folders.

Take a look at this site for example:

2015-09-17-12-rnjwd

This has mutliple page levels, and as such multiple levels of dropdown.

BTW, please don't focus on the admin during development unless you are simply adding content. Things are going to be much quicker if you can understand things at the file level.. This is a file-based CMS after all :)

11 years ago

Yeah I am not doing that, I apologize, I am using ftp. Also the zip that I sent you was the local files on the remote it is set to the same as the screenshot. Capture

11 years ago

Awesome, I thought something might be up with the CSS. I appreciate the help.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1338 9 years ago
Archive · by Muut Archive, 9 years ago
2 927 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago