Banner Ad On Every Page [message #159913] |
Thu, 09 July 2009 11:28 |
ANiko
Messages: 30 Registered: May 2009
Karma: 0
|
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.
|
|
|
|
|
|
|
|
|
|
Re: Banner Ad On Every Page [message #159924 is a reply to message #159922] |
Thu, 09 July 2009 19:44 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
naudefj wrote on Thu, 09 July 2009 10:59
PS: We need to document this procedure on the wiki. It would be great if you guys can help...
I am keeping notes for just that reason, but I am reluctant to put it on the wicki until I am sure about something. And I am still working on it, things like how the heck did i manage to get expand and contract buttons within the thread itself etc.
"I'm a Witcher, I solve human problems; not always using a sword!"
[Updated on: Thu, 22 October 2009 05:47] Report message to a moderator
|
|
|
|
Re: Banner Ad On Every Page [message #159926 is a reply to message #159925] |
Thu, 09 July 2009 20:23 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
No problem, let me know if you have any flicker, momentary white on the page, unexpected disconnects any thing out of the ordinary.
I am trying to figure out what is the best way to do this with the new version of FUD, since I use as many as 6 such links in my forums.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|