FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Banner Ad On Every Page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Banner Ad On Every Page [message #159913] Thu, 09 July 2009 11:28 Go to previous message
ANiko is currently offline  ANiko   United States
Messages: 30
Registered: May 2009
Karma:
Member
Fresh install of FUDforum 2.8.1.

I'm trying to add a banner ad at the top of every page in the forum, but I'm getting nowhere. I used the theme manager to create a new template based on path_info. I used the template editor to edit this new template. In the long list of template files, I picked header.tmpl ยป header -> forum page header. (Maybe that's my mistake. I'm picking the wrong template for the header of every forum page.)

Adding the iframe code in the HTML body before the first table doesn't work, creating a new first row in either of the tables and putting the iframe code in there doesn't work, either. Yes, I rebuilt all themes after saving the change. When I go back to the forum, there is no ad displayed.

Can someone please help me place the iframe code in the right place in the right template file and tell me whatever else I'm doing wrong?

Here is the basic iframe code I've tried inside either of the 2 tables:

<tr>
<td colspan="5" height="65" width="300" align="center" valign="middle">
<iframe src="http://linktoanotherdomain.com?id=myad" width="234" height="60" frameborder="no" scrolling="no"></iframe>
</td>
</tr>

Thanks for any help.
[Message index]
 
Read Message
Read Message icon6.gif
Read Message
Read Message icon6.gif
Read Message
Read Message icon6.gif
Read Message
Read Message
Read Message icon6.gif
Read Message
Read Message icon6.gif
Previous Topic: Add another group colour to bottom of main page?
Next Topic: Define an unexpected error?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 09:36:19 GMT 2024

Total time taken to generate the page: 0.04319 seconds