naclfallen Posted April 23, 2010 Share Posted April 23, 2010 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. Quote Link to comment Share on other sites More sharing options...
Hybride Posted April 27, 2010 Share Posted April 27, 2010 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.