Any ideas how to bypass the Banners module and go ahead with adding HTML (for an advert using an alternative banner management system) in the top-right position of the page? By this I mean where the Quotes module typically deposits its load... next to the main logo section. I'm happy to directly input this into a core file to ensure it stays in the right place and remains clickable. Any thoughts? |
just put your html where you edit the quotes |
We don't use Quotes... but I'll install it and have a go... thanks.
UPDATE: Installed quotes, deleted existing quotes and added our iFrame ad-banner code as new 'quote'... nothing showed up. Not a success. |
opps sorry thought that might work :O) why can you not just use the banners module is it striping the html ?
are you useing open x ?
try this file templates/base/_sub_header.html
<bx_injection:injection_between_logo_top_menu />
its around this area
|
These elements are there:
</div> <bx_injection:banner_top /> </div> <bx_injection:injection_between_logo_top_menu />
Where exactly are you saying the html code should be placed? |
JoeWa, please look at this example, http://duvallocals.info/d74/index.php
is this what you mean? the google ad is where the quotes are..
ManOfTeal.COM a Proud UNA site, six years running strong! |
JoeWa, please look at this example, http://duvallocals.info/d74/index.php
is this what you mean? the google ad is where the quotes are..
Pretty much like that yes, but alongside the logo. Banners are being a pain with our installation for some reason otherwise we'd simply use that- - non-Google AdSense banners are rendering themselves non-clickable... an odd situation. So, aside from fixing that in the long-term, I'm looking at directly placing the banner code into the page.
|
So how did you inject the code in that position newton27? Cheers. |
Newton 27 where did you find that nice share button? And where did you place it to get it there? I would like to do the same for my site |
Newton 27 where did you find that nice share button? And where did you place it to get it there? I would like to do the same for my site
You can find it here: http://www.boonex.com/unity/forums/?action=goto&search=1#topic/New-Look-of-Add-This-share-buttons.htm
|
Newton 27 where did you find that nice share button? And where did you place it to get it there? I would like to do the same for my site
You can find it here: http://www.boonex.com/unity/forums/?action=goto&search=1#topic/New-Look-of-Add-This-share-buttons.htm
Nice thank you :-)
|
So how did you inject the code in that position newton27? Cheers.
Newton please share how you injected the banner code as I am trying to inject mine in the quote module and it drops below my banner and it also drops to the left side below the banner. How do I get it to move to the right and be inline with my banner?
|
This is where I am having problems with my banner ad... I had to place it in the chat module above everything else in order for it to go above quotes.
I have tried header.html and subheader.html ... Any other suggestions?
|

|
So how did you inject the code in that position newton27? Cheers.
did you find this placement yet?
ManOfTeal.COM a Proud UNA site, six years running strong! |
So how did you inject the code in that position newton27? Cheers.
did you find this placement yet?
No have not found the placement yet... Where did you place?
|
This is where it is going now when place in the quote modules... It is dropping everything down below the banner

|
So how did you inject the code in that position newton27? Cheers.
did you find this placement yet?
No have not found the placement yet... Where did you place?
make backup please b4 you start..
EDIT /templates/base/_sub_header.html : You will have to do this for every template installed.. just edit the _sub_header.html under each template folder.. for posting here I manually removed the <> and replaced with " so make sure you don't copy and paste this code. Please manually insert your google ads in the file.. the following code is from _sub_header.html
"bx_include_auto:_header.html /"
"bx_injection:banner_left /" "bx_injection:banner_right /" __extra_top_menu__ "div class="sys_ml" style="width:__main_div_width__;"" "div class="sys_ml_wrapper"" "bx_injection:injection_logo_before /" __main_logo__"div class="clear_both" style="margin-left: 27% "width:__main_div_width__;"" "script type="text/javascript"""!-- google_ad_client = "pub-YOUR PUB ID HERE"; /* 728x90, created 8/9/09 */ google_ad_slot = "AD SLOT NUMBER"; google_ad_width = 728; google_ad_height = 90; //--" "/script" "script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"" "/script" "/div" "bx_injection:injection_logo_after /" "/div" "/div" "bx_injection:banner_top /" "/div" "bx_injection:injection_between_logo_top_menu /" "div class="sys_top_menu"" "bx_injection:injection_top_menu_before /" __top_menu__ "bx_injection:injection_top_menu_after /" "div class="clear_both"" "/div" "/div" "bx_injection:injection_between_top_menu_breadcrumb /" "div class="sys_breadcrumb"" "div class="sys_bc_wrapper" style="width:__main_div_width__;"" "bx_injection:injection_breadcrumb_before /" __top_menu_breadcrumb__ "bx_injection:injection_breadcrumb_after /" "div class="clear_both"" "/div" "/div" "/div" "bx_injection:injection_between_breadcrumb_content /" "!-- end of top --" "bx_injection:injection_content_before /" "div class="main" style="border:0px; width:__main_div_width__;"" "!-- body --" "bx_injection:injection_content_before /" "!--[if lt IE 7]" "div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative; margin-bottom: 10px;'" "div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'""a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/""/a""/div" "div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'" "div style='width: 75px; float: left;'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/""/div" "div style='width: 275px; float: left; font-family: Arial, sans-serif;'" "div style='font-size: 14px; font-weight: bold; margin-top: 12px;'""bx_text:_sys_outdated_browser /""/div" "div style='font-size: 12px; margin-top: 6px; line-height: 12px;'""bx_text:_sys_outdated_browser_explain /""/div" "/div" "div style='width: 75px; float: left;'""a href='http://www.firefox.com' target='_blank'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/""/a""/div" "div style='width: 75px; float: left;'""a href='http://www.browserforthebetter.com/download.html' target='_blank'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer 8'/""/a""/div" "div style='width: 73px; float: left;'""a href='http://www.apple.com/safari/download/' target='_blank'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/""/a""/div" "div style='float: left;'""a href='http://www.google.com/chrome' target='_blank'""img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/""/a""/div" "/div" "/div" "![endif]--"
|
ManOfTeal.COM a Proud UNA site, six years running strong! |
@chanmedia247 this may or may not work for you after seeing your layout; but might get you close to where you want to be.
[EDIT] this is where to start I think.
__main_logo__"div class="clear_both" style="margin-left: 27% "width:__main_div_width__;""
ManOfTeal.COM a Proud UNA site, six years running strong! |
this may or may not work for you after seeing your layout; but might get you close to where you want to be.
K great thank you I am going to give it a try now... But before I do I am not using google adsence... I am using another ad network that you have to insert java script... In the html you gave do I just edit out where you have the google info and place the javascript within?
|
this may or may not work for you after seeing your layout; but might get you close to where you want to be.
K great thank you I am going to give it a try now... But before I do I am not using google adsence... I am using another ad network that you have to insert java script... In the html you gave do I just edit out where you have the google info and place the javascript within?
I wouldn't think that would matter.
ManOfTeal.COM a Proud UNA site, six years running strong! |
Ok so now this is where it is placing it now... I think the problem is my logo banner is 1004px and the banner ad does not want to lay on top of the logo unless the code is place in the quotes module.... but how in the quotes module do I get it set right as it wants to run off the page and not set atop (see second photo)

|
I fixed the code in the div class, commented out all the javascript and put in the basic document.write hello world code...No results, I don't see Hello World! anywhere on the page... |
I fixed the code in the div class, commented out all the javascript and put in the basic document.write hello world code...No results, I don't see Hello World! anywhere on the page...
why php hello world, we are talking about adsense.. and html blocks, not php
ManOfTeal.COM a Proud UNA site, six years running strong! |
not php hello world, javascript hello world, inside the script /script area...because I don't have a google ads account yet, I was testing placement of a banner...if a pic shows up, then text should too. its all just code... |