Jump to content

Need help with embedding into HTML


naclfallen

Recommended Posts

If this needs to be in the PHP section, I apologize. Since the main template is HTML, I figured it would go here.

 

Here is our website: http://nacleague.com

 

As you can see, there is a banner up top with buttons and a picture. I will refer to this as the header.

 

The template you see on the homepage is HTML/CSS. The League page is composed of the CMS script called KML League script. The forums are SMF.

 

What we are trying to do is, insert that header into every page on the site. Where we have the banner on top and the auto-sized page of content below it. If you need a visual of what I am trying to explain, go to http://www.wogl.org

 

There you will see the banner on every page with the corresponding auto-sized page below. If anyone can look into it and tell me if there is an easy way to do this, it would be really helpful. It will look more organized with that header on every page. I appreciate any help that can be given.

Link to comment
Share on other sites

If you have a file that has all the header information that you want (including the picture), you can create a template page and include the file with PHP.

<?php include "header.php"; ?>

That way, you have the header file all in one location, and only need to add/edit anything with regards to the header in that one file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.