Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Gavcox on April 07, 2008, 04:26:31 PM

Title: Banner
Post by: Gavcox on April 07, 2008, 04:26:31 PM
I have made a banner to go in the header of my forum but am not sure where to place the html code.

I have tried line 66 template html above  and line 154 template body above.
cause the site to display and error page
Title: Re: Banner
Post by: metallica48423 on April 07, 2008, 04:39:28 PM
what is the code you tried inserting?
Title: Re: Banner
Post by: Gavcox on April 07, 2008, 05:18:33 PM
<A target = "_blank" HREF="http://www.mysitehere.com"><IMG SRC="http://www.mysitehere.com/image/picturehere.gif" border=0 width=800 height=89 ></a>

It works fine on the server it displays ok. i pretty new to all this so just trial and error for me at the mo
Title: Re: Banner
Post by: metallica48423 on April 07, 2008, 05:20:48 PM
you need to echo any html you put into a php file.

echo '<a target="_blank" href="http://www.mysitehere"><img src="http://www.mysitehere.com/image/picturehere.gif" border="0" width="800px" height="89px" alt="" /></a>';

edit: rewrote html to be valid and xhtml transitional compliant