Edit Bar Menus Display Blank (version 8)
Permalink
My tool bar is displaying when I am logged in but the dashboard and other menus are empty. All admin tools work fine if I navigate to /index.php/dashboard. I have included the recommended from the docs herehttps://documentation.concrete5.org/developers/designing-for-concret...
I am using a copy of the theme "Elemental" in my application/theme directory that I have been editing in version 8.1.0. If I activate the Elemental theme everything is fine but then if i switch back to my custom theme the menu is empty again. It was working at one point, I'm just unsure how long ago I broke it and what could have caused it. Is there a developer tool that I could try to help identify the issue?
Does anyone have an idea what could be causing the menus to display blank?
<?php Loader::element('footer_required') ?>
I am using a copy of the theme "Elemental" in my application/theme directory that I have been editing in version 8.1.0. If I activate the Elemental theme everything is fine but then if i switch back to my custom theme the menu is empty again. It was working at one point, I'm just unsure how long ago I broke it and what could have caused it. Is there a developer tool that I could try to help identify the issue?
Does anyone have an idea what could be causing the menus to display blank?
This is often a side effect of a JavaScript error on the page. You could try looking at the browser developer console and see what errors are reported. Perhaps a bug in a custom theme or block.
See attachment of screenshot. Also, there are no error in the Developer tools console.
Rather than copying Elemental, MrKD's cloneamental is designed to be a better starting point for a custom theme.
https://www.concrete5.org/marketplace/themes/cloneamental...
https://www.concrete5.org/marketplace/themes/cloneamental...
It turned out to be a conflict between the custom theme CSS and the core CSS.
Long story short this is what was causing the dashboard to appear empty, in my main.less file I removed the .ccm-page class that was acting as a namespace to prevent my custom theme styles from affecting the core styles. To fix the problem, I added the .ccm-page class back. Since the .ccm-page class is inside of the <html> and <body> tags in the DOM I now have a single body.less file for styling the <html> and <body> tags. Here's what main.less looks like:
Long story short this is what was causing the dashboard to appear empty, in my main.less file I removed the .ccm-page class that was acting as a namespace to prevent my custom theme styles from affecting the core styles. To fix the problem, I added the .ccm-page class back. Since the .ccm-page class is inside of the <html> and <body> tags in the DOM I now have a single body.less file for styling the <html> and <body> tags. Here's what main.less looks like:
@import "build/body.less"; div.ccm-page { @import "build/content.less"; @import "build/global.less"; }
Please take a screenshot of what you are describing and reply with it as an attachment.