What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Moving HTML into another document, not rendering as expected.

mrme01

New member
Joined
Mar 1, 2020
Messages
1
Reaction score
0
HTML Coins
0
Hi folks, first post of what will probably be many. I am trying to bend AdminLTE to my will, and as such, I want to move components of it into separate documents.

I have done this with the sidebar, by literally cutting and pasting the markup into another document and using php include, this works as expected even though line 2 is an <aside> tag (first being a comment)

I have tried to do this with the header, but it does not render like the sidebar.

I have pasted the HTML of the page here, https://pastebin.com/n7XSB29N line 27 is the start of the HTML in question, and I have uploaded a zipped copy of the entire thing here, https://gofile.io/?c=rMn1JB (they use AdminLTE :-P )

Super illiterate with HTML when it comes to stuff like this, so please correct me where I've most likely used the wrong term.

Here is a screenshot of what happens when I do the same thing with the header as I have done with the sidebar (that works)
Thanks for taking your time to go through this absolute mess of a post, I just don't know how to get this to work without being extremely simple in my post and uploading everything to explain myself.
 
try:
<embed type="text/html" src="head.html" width="100% height="100%"></embed>
head.html is the title of information to import
the width/height to suit
I have used it with sucess
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back