By default,
| main-sidebar | content | => |m|c|
when we first visit the phpmaker generated application.But, very frequent,
the view become
| blank space | content | => |b|c|
or even it auto hide for me
| content only | => |co|I just type http://localhost to access the page
the results appear is randomly come out |m|c|, |b|c| or |co| when I press F5So far this happen in v2021.0.8 (I start test using v2021.0.7)Any suggestion?
v2021 uses a newer version of AdminLTE which support saving state of the sidebar.
- If you have any old server or client side code to change the CSS class of the HTML body, remove them.
- If you have any old user CSS styles or stylesheet from older versions, remove them.
- Click Tools → Advanced Setting, check the AdminLTE layout class, select one of them.
- Generate all scripts again to make sure the latest AdminLTE .css and .js are used.
- Clear cached files in your browser to make sure the new .css and .js are used.
If you click the push button (at top left) to show/hide the sidebar, the status will be saved by AdminLTE. When you refresh, the sidebar status will be restored.
Thanks for your input,FYI,
- This is a new test project. I just created an users file + few fake records (no data entry but just list the records in users file)
- no css, just use whatever come with phpmaker
- Layout-class => layout-fixed (Phpmaker AdminLTE Default)
- always delete entire project folder and re-generate whole project
- browser cache will be clear once browser closed
Test on localhost (Linux) and cPanel Server:-
- v2021… still randomly hide/show main-sidebar
- v2020… So far so good (Stable)
I cannot reproduce. If you are a registered user, you may show your problem site to support, see https://phpmaker.dev/support.php.