Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

adding html code to index template for 1.05

Aloittaja RBH, joulukuu 27, 2005, 10:35:36 IP

« edellinen - seuraava »

RBH

i guess this is where i would post this question. i have html for a realtime weather banner and was wondering how i would replace where the smf logo is with the weather banner or if this is even possible? i did some searching and am guessing i edit the index template but not positive. anyways, if someone could help me or point me in the right direction that would be great. here is the code i want to use. just need to know what i replace and where it goes. thanks!

<a href="http://www.wunderground.com/US/KS/Topeka.html?bannertypeclick=htmlSticker">
<img src="http://banners.wunderground.com/weathersticker/htmlSticker1/language/www/US/KS/Topeka.gif"
alt="Click for Topeka, Kansas Forecast" border=0 height=35 width=271></a><br>
<table width="271" border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td>

<table width="101" border="0" cellpadding="0" cellspacing="0"><tr><td>

<img src="http://icons.wunderground.com/graphics/smash/htmlsticker/html_linkT.gif" width="101" height="22"><br>
</td></tr>

<tr><td background="http://icons.wunderground.com/graphics/smash/htmlsticker/html_linkBG.gif">
<font
size="1" face="Geneva, Arial, Helvetica, sans-serif">&nbsp;&nbsp;<a
href="http://www.wunderground.com/history/airport/KTOP/1972/1/1/PlannerHistory.html?PlannerFrontPage=1&bannertypeclick=htmlSticker">Plan
your trip</a><br>
&nbsp;&nbsp;<a href="http://www.wunderground.com/radar/radblast.asp?ID=TWX&region=b3&lat=39.05644989&lon=-95.67561340">Local
Radar</a><br>
&nbsp;&nbsp;<a href="http://www.wunderground.com/US/KS/Topeka.html?bannertypeclick=htmlSticker">Detailed Forecast</a></font>
</td></tr>

<tr><td valign="top">
<img src="http://icons.wunderground.com/graphics/smash/htmlsticker/html_linkB.gif" width="101" height="12"><br></td></tr>
<tr><td>
<img
src="http://icons.wunderground.com/graphics/clear.gif" height="5">
</td></tr></table>

<img src="http://icons.wunderground.com/graphics/clear.gif" width="5"><form action="http://www.wunderground.com/cgi-bin/findweather/getForecast" method=GET"><input name="query" type="text" value="Find
Weather" size="11" onFocus="this.value=''" ><br><img src="http://icons.wunderground.com/graphics/clear.gif" width="5"><input
name="GO" type="submit" value="GO"><input type=hidden name="bannertypeclick" value="htmlSticker"></form>
</td>

<td>
<a href="http://www.wunderground.com/US/KS/Topeka.html?bannertypeclick=htmlSticker">
<img src="http://banners.wunderground.com/weathersticker/htmlSticker2_cond/language/www/US/KS/Topeka.gif"
alt="Click for Topeka, Kansas Forecast" border=0 height=139 width=170></a>

</td></tr></table>

Elmacik

Find this:

<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />


Replace like:

<span style="float: right;"> YOUR CODES </span>

This would hopefully help
Home of Elmacik

RBH

elmacik, i attempted it and got some kind of template parse error and my forums wouldn't load. i reloaded the template index backup and it went back to normal but i couldnt get this code to work. i will continue to attempt this, but the first try failed.

RBH

after some other issues i upgraded my forum to 1.1 rc1. now the code with the smf logo is different so now what would i replace to get this to work in 1.1rc1?

Advertisement: