Forums / Cotonti / Skins / Advertising with Gameportal?

Swooshy
#23356 2010-03-03 00:52
Hmm that didn't work. I must add {PHP.cfg.freetext9} to .tpl files? I tried to add it to index.tpl earlier. I wanted to have three columns on home page. I edited gameportal.css so that it says

#sidebar { float: left; display: inline; width: 226px; }
#content { float: right; display: inline; width: 657px; }
#sidebar2 { float: right; display: inline; width: 120px; }

and then added code

<!-- SB2 -->
<div id="sidebar2">
<script type="text/javascript"><!--
google_ad_client = "pub-0329715766745367";
/* 120x600, created 3/2/10 */
google_ad_slot = "1888461973";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<!-- / SB2 -->

to index.tpl, but somehow it doesn't let the three columns to be next to each other, but it forces one of them to be below the 2 others. Sorry I hope you understand what I mean.