I am using Metronic for a project of mine written in Python. I am using Flask for serving the pages.
I was able to modify the HTML used for the authentication portion with zero issues. However, trying to modify the navbar and menu items in the header for the main dashboard results in zero changes being displayed. I have not seen any errors being displayed in the console output (both browser and terminal).
Has anyone ran into an issue similar to this?
File being edited that do not show changes after HTML is edited:
Files that have been edited and changes have been seen:
- Auth HTML pages
- Alternative browser/clearing cache
- Deleting old pycache folders
- FLASK_DEBUG=1 in the ENV and TEMPLATES_AUTO_RELOAD=True in the config
- Reboots across dev applications and dev servers/workstations
- Python3.10.6 (Using provided pyvenv)
Found that default.html was calling /partials/sidebar-layout/_header.html not /partials/header-layout/_header.html, which resulted in no edits being displayed.
All is working now
It seems like you're trying to modify the navbar and menu items in the header for the main dashboard in your Flask project using Metronic. However, you mentioned that the changes you made to the following files are not being displayed:
In Metronic, the default layout that is used is the sidebar layout, located under the folder "sidebar-layout." The full path to the header menu file you mentioned should be:
Please ensure that you are editing the correct file path to make changes to the header menu. If you continue to experience issues, feel free to provide more details, and we'll be glad to assist you further.