The navbar disappears if the app runs in a frame (v2021)

I have developed a project (“slo”) in PHPMaker 2021 and I have to interface it to a geographic Web client (“agile-qwc”) in QWC2 (QGis Web Client 2).
If the application in PHPMaker runs alone, the pages are presented exactly as expected.
If the same application is inserted in a frame (to coexist with the geographic application in another frame), the header (with the navbar) and the footer disappear after a very short appearance.In this forum I found the commands that make the header and footer reappear (https://discourse.hkvstore.com/t/hide-top-bottom-and-left-navigation-menus-and-bars/1699/1):
$ (“. main-header”). show ();
$ (“. main-footer”). show ();From the Chrome browser, inspecting the code (F12), and executing the above commands from the Console, the header and footer reappear.
I tried to insert the commands in different events foreseen by PHPMaker, both on the server side and on the client side, but without success.Below is the index.html file which prepares three frames:

  • “gfx” for the cartographic part (index_qwc2.html);
  • “db” for the application written with PHPMaker (slo);
  • “util” for the dummy frame (width 0px) for the communication between the first two.

“/var/www/html/agile-qwc/index.html”

<frame name="util" Thanks for the help and for any suggestions.

See View and change CSS and try to find out what make the .main-header and .main-footer hidden in your browser.

Thanks for the tip, but I couldn’t find the cause of the problem.
In the meantime, I upgrade to the 2022 version and the problem no longer exists.