Advertisement:

SMF 2.0 Default theme index.template.php edits?

Aloittaja ApplianceJunk, elokuu 28, 2011, 09:46:49 IP

« edellinen - seuraava »

ApplianceJunk

In the attachment I have to rectangular area marked where i want to place a couple google adsense text link ads in SMF 2.0

I think I would need to place the google adsense code in the index.template.php file.

Could someone tell me the place to insert the code in the index.template.php so they show up correctly?

Thanks,



IchBin™

AJ, I'd suggest you take a look at firebug (link in my sig). When you use it, it will show you what code is associated with the elements on the page. Then you can go into the code and search for bits of that code to find it. For the top part you need to look for this div and put your code into it.

<div id="top_section">

For the lower box you need to look for this bit of code and put yours inside the div.
<div id="upper_section" class="middletext">

You'll find that it will take a bit of tweaking to get things working the way you want. But firebug makes things much easier to figure out what needs to be tweaked. Youtube has come great tutorials on firebug and how to use it if you need.
IchBin™        TinyPortal

ApplianceJunk

I will check out firebug...

I'm I looking for both them div tags in the index.template.php?

Thanks

ApplianceJunk


Advertisement: