Hi Everyone,
Marco is correct anything can be added anywhere in your design.
Making your own include is actually very simple.
It simply needs to be whatever the code was that you would normally put into your document.
I actually do this with CSS rather than an include if it only calls an image.
Here is an example:
This is my tag for my header image in the index template
<div class="Header-png"></div>
<!-- Header Image -->Here is the CSS for that tag in my style.css
div.Header-png { position: absolute;
z-index:-2;
top: 0;
left: 0;
width: 898px;
height: 200px;
background-image: url('images/Header.png');
background-repeat: no-repeat;
background-position: left top;
}In the future if you want to change the image you simply make a new image and exchange it and viola you have a new header.
For those of you who want to make an include?
Lets take a different piece of code where your header image is called.
<div align="left"><img src="images/text-hed.gif" width="500" height="60" alt="header image" border="0"></div><br /><br />
<div class="tnav" align="right">
<?php include('storefront-files/includes/main_menu2.tpl.html'); ?>
</div>
<hr>
<br />
Copy the red bit of code into an empty document:
<div align="left"><img src="images/text-hed.gif" width="500" height="60" alt="header image" border="0"></div>name and save it say ... header.tpl.html ... upload to your storefront-files/include/ ... directory
Then where the tag was above in your doc code you will now replace with the php that will call that tpl.html like this:
<?php include('storefront-files/includes/header.tpl.html'); ?><br /><br />
<div class="tnav" align="right">
<?php include('storefront-files/includes/main_menu2.tpl.html'); ?>
</div>
<hr>
<br />
Not that hard once you get the hang of it all.
CSS and includes make your whole website changes very manageable from easy access locations.
Linda