So, I bought the Hyper 2.0 Dashboard from the bootstrap theme page, but the problem I’m having is that when I add the App Connect Local to the page, it breaks. I don’t understand why really.
For example, if I´m running the page (with the app connect integrated) using an smaller screen, where the left menu gets hidden, and I open it, it works right
If I expand to a normal size desktop, it continues working right. The problem seems to appear when the page is loaded in the normal size desktop and the left side menu is not hidden.
Not sure if this is the reason but the page source looks broken in that I can see closing BODY and HTML tags more than once in the page body.
Best regards,
Brian
I don’t know why - perhaps it’s a bug - but Wappler will typically do this if you paste external code into code view. I imagine there is a problem analysing the tags. If you correct the code and remove the repeated code, Wappler will often regenerate it as soon as you save the file. If this happens, you’ll need to edit the code in a text editor and then open it in Wappler. That usually does the trick.
I don’t think the multiple body tags are Wappler related.
Probably the template include files are not properly created. Is your template using PHP includes? If yes, what do they include exactly?
It starts from line 20, you have a stray doctype along with stray head and html tags on line 21.
Line 22 has another charset which is not allowed. You have a head closing tag on line 23. Line 24 the body opens again, and on line 478 you have code after the closing HTML tag.
I’d advise starting again and pasting in the template in sections. It is much easier to debug.
That body certainly wouldn’t be the problem. However there are three opening body tags - I searched for ‘<body’ - and of course two of them shouldn’t be there.
Furthermore, this is the style rule in the section of your document: <style>body.loading {visibility: hidden;}</style>
which means that the rendered document remains hidden until some action takes place. My assumption is that these two JavaScript files manipilate the DOM
This is exactly what App Connect also does (manipulating the DOM). In other words App Connect and the two linked JavaScript files seem to be incompatible.
Body is missing a class named “sidebar-enabled”. App connect is probably overwriting that. And that class is probably toggled when viewport is desktop or when a hamburger icon is clicked on mobile.