Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 12-22-2006, 06:02 PM   #1 (permalink)
v7n Mentor
 
Ferre's Avatar
 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 11,429
iTrader: 0 / 0%
Ferre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest order
Need some help with placing code in WP

I was looking for a rotating banner plugin for WP and I installed the 'banner' plugin found here; http://www.bibuweb.de/ but I don't understand what they mean by:

Quote:
If you want to put the banner to the bottom of your page you can comment out the line 68:

Code:
echo < script > InsertElement(’body’,'banner’) < /script>
in banner.php

If you want to put your banner to any other place, you can also change the first parameter of InsertElement. This parameter describes the parent element where to add the banner element as first child.
If you want to do so, please have also a look at the WP anatomy page
I did find that piece of code but really have no clue what to do with it.

I want to put the banners at the top of the page, above the posts, but got stuck with that piece of code. When I leave it where and as it is the banner shows on the bottom, under the footer (ugly), but the page gives a 'page loaded with errors' message in my browsers' tray when I activate the plugin. I want the banners to show above the posts and I did figure out I need to put some code in the index file I just don't know much about those languages at all, no php, no javascript, only some basic html knowledge.

Can anyone help me out here?

(it's for radiofreeamsterdam.com)

Last edited by Ferre : 12-22-2006 at 06:06 PM.
Ferre is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 12-23-2006, 12:44 AM   #2 (permalink)
Contributing Member
 
alinush's Avatar
 
Join Date: 09-12-06
Posts: 61
iTrader: 0 / 0%
Latest Blog:
Pole Fail

alinush is liked by many
Send a message via Yahoo to alinush
You should use the plugin I suggested in the other thread...much easier
__________________
funny pictures - funny t-shirts
alinush is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-23-2006, 09:49 AM   #3 (permalink)
v7n Mentor
 
Ferre's Avatar
 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 11,429
iTrader: 0 / 0%
Ferre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest order
Nope, I guess it's not. I need a simple admin backend because it's not me who updates the site, I've got to make that thing I installed working.
Ferre is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-23-2006, 10:38 AM   #4 (permalink)
Contributing Member
 
alinush's Avatar
 
Join Date: 09-12-06
Posts: 61
iTrader: 0 / 0%
Latest Blog:
Pole Fail

alinush is liked by many
Send a message via Yahoo to alinush
once the plugin is setup, it does have an admin backend and it's very easy to manage. btw, I can install it and create a training video for 20 bucks
__________________
funny pictures - funny t-shirts
alinush is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-23-2006, 01:05 PM   #5 (permalink)
v7n Mentor
 
Ferre's Avatar
 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 11,429
iTrader: 0 / 0%
Ferre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest order
Can't you just tell me what to do with the one that I've already installed?

All I need to know is what to do with that one line of code.
Ferre is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-24-2006, 12:16 AM   #6 (permalink)
Contributing Member
 
alinush's Avatar
 
Join Date: 09-12-06
Posts: 61
iTrader: 0 / 0%
Latest Blog:
Pole Fail

alinush is liked by many
Send a message via Yahoo to alinush
I would help but I'm afraid I have no idea how that one works or what he means there .... I have used the randomizer plugin and it worked great for me....much easier.
__________________
funny pictures - funny t-shirts
alinush is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-26-2006, 10:53 AM   #7 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,788
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
Hey Ferre, did you ever get an answer to this. You obviously didn't here but I went to radiofreeamsterdam.com and didn't get error or banners. I assume that means you pulled it down for now??

I also when to the link the code came from and got a javascript error when looking at it with IE7. When I went to their site with FF1.5 I didn't get banners at all.

I grabbed the code and took a quick look. It looks like this is using dojo ajax libraries. I would bet you don't have those installed on the server you are running from. But without the specific error, I can't really say. Let me know if you are still trying.

P.S. as for that one line of code, leave it as is. It is what will make the banners show up at the TOP of the page. If you want it to show up below the existing header, we would need to change 'body' to something else. After a quick look at the source code for RFA, you might try changing it to 'content' which should put it right above the posts.

Good Luck
__________________
Experimenting

Last edited by Taltos : 12-26-2006 at 10:57 AM.
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-30-2006, 04:21 PM   #8 (permalink)
v7n Mentor
 
Ferre's Avatar
 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 11,429
iTrader: 0 / 0%
Ferre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest order
Hey thanks for the reply!

Indeed I have de-activated the plugin after I also tried to replace the 'body' element to 'content' (found out by myself what the dude meant) and that did not place the banner above the posts, as I intended to do in the first place.

I didn't know that I need to have dojo ajax running on the server but when that's the case I think it can be installed. When I activate the plugin now the banner shows under the footer of the page, like totally at the bottom of the body, not on top and changing the 'body' tag also doesn't place it anywhere else and the site gives an error, could be a javascript error, I can't see that in IE7, I only see that error icon in my browser bar.
Ferre is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing a div next to a centered div? devilzfan300 Web Design Lobby 11 08-02-2007 11:52 PM
Does anybody have the code for placing images next to a rectangle adsense block? kelp Web Design Lobby 1 02-08-2007 08:45 PM
going bald/ placing images gc24 Web Design Lobby 5 10-01-2006 05:05 AM
Placing vid clips on webpage help... snakeyesxlaw Graphic Design Forum 1 04-05-2004 05:37 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 05:35 AM.
© Copyright 2008 V7 Inc