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.