News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

index.template

Started by Anz, May 26, 2005, 06:21:41 PM

Previous topic - Next topic

Anz

I added a banner to my index.template.php and it works fine on the main page and associated links via the forum buttons like profile, messages etc.

It's properties being

Quotehttp://yadayada.com/forum2/bann1.gif [nofollow]

However, when I open any of the boards the banner image is replaced with the dreaded X.

It's properties being

Quotehttp://yadayada.com/forum2/index.php/bann1.gif [nofollow]

Am I correct in assuming that index.php should not be in the equation?

The only addition I made to index.template.php was

Quote</head>
<div align="center">
  <center>
  <table border="0" width="649" height="120">
    <tr>
      <td width="546" height="39">
        <p align="center"><img border="0" src="bann1.gif" width="657" height="113"></td>


    </tr>
  </table>
  </center>
</div>
<body>';

Can anyone tell me what I have done wrong please.

Cheers,
Anz

bloc

#1
Try to make the source atribute a full path instead. And it would be a better idea to put the code AFTER the <body> tag, where it belongs.

Advertisement: