found it:needs ./nodebb build needs to open dev console to flush cache
Position of Ads' Script ?
I am having issues to position my ads script on my page. I don't know where I have to insert the code that I have from my Ad-publishing company. Here's an example what I am trying to accomplish.
Those areas are part of the page background. Is placing the ad in the background an option for you? I think that would be the most effective if so.
@yariplus ok, tell me how to put it in the footer then ?:)
@nullcx It depends a lot on how your script inserts the ad, since pages are loaded dynamically.
You may be able to use global footer HTML widget. Some scripts don't like being inserted that way though.
If your script refreshes the ad automatically, an easier way might be to just edit the footer.tpl file in your theme's template folder and insert it before the </body> tag.
I've tried to put the script @ Global footer - but nothing shows up? Will it work if I edit footer.tpl directly ?
It depends on the script. It may work on the footer, but the footer is only ever loaded once.
You may need the script altered to be used with dynamic content such as the HTML widget. Google for instance, has a special way of setting up dynamic ads.
nullcx last edited by yariplus
This is the code:
It should work in the footer, but it looks like it's just a static ad, and will never refresh. It uses
document.write, so it cannot be used in a widget without modification.
What the modification should looks like ?
I'm not an expert here, but possibly just by replacing