Guest Someone_Else Posted April 26, 2013 Share Posted April 26, 2013 (edited) Hi all I'm trying to use the OpenX iframe to slap down some banners all up in my interwebs, but there seems to be some syntax error in the iframe code. I have tested this on other php based pages, and found that it works perfectly, so I'm not sure what the issue is with PrestaShop Has anyone encountered this issue previously / have a possible solution? Cheers in advance Edited April 26, 2013 by Someone_Else (see edit history) Link to comment Share on other sites More sharing options...
dreamajax Posted May 2, 2013 Share Posted May 2, 2013 (edited) Hi, I was just checking through for a solution for an issue in openx and found a site which provides support and consulting for the openx Please check OpenXservices.com, hope so it would help you. Cheers... Edited May 2, 2013 by Dreamajax (see edit history) Link to comment Share on other sites More sharing options...
rob84 Posted August 30, 2013 Share Posted August 30, 2013 Hi all I'm trying to use the OpenX iframe to slap down some banners all up in my interwebs, but there seems to be some syntax error in the iframe code. I have tested this on other php based pages, and found that it works perfectly, so I'm not sure what the issue is with PrestaShop Has anyone encountered this issue previously / have a possible solution? Cheers in advance Try to load zones with php invocation code. Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 Try to load zones with php invocation code. can you show some example? im interested in this case Link to comment Share on other sites More sharing options...
Dh42 Posted August 31, 2013 Share Posted August 31, 2013 More than likely what you are doing wrong is not putting the open x code between literal tags. You have to do it like this, {literal}openxcode{/literal} or it will not work in a tpl file. Also make sure that you are using the latest version of openx there is a huge bug that was closed a few weeks ago. http://www.zdnet.com/openx-releases-mandatory-fix-to-prevent-ad-server-trojan-attacks-7000019094/ If you paste a link to the site I can look at it, I have a couple clients that run openx much to my dismay. 1 Link to comment Share on other sites More sharing options...
rob84 Posted August 31, 2013 Share Posted August 31, 2013 (edited) can you show some example? im interested in this case Well for example you can paste the invocation zone code (once created a zone and assigned to it banner/s) like this in a TPL template file the javascript tag: {literal} <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://www.yoursite.com/adserver/www/delivery/ajs.php':'http://www.yoursite.com/adserver/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=4"); document.write ('&cb=' + m3_r); if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used); document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : '')); document.write ("&loc=" + escape(window.location)); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://www.yoursite.com/adserver/www/delivery/ck.php?n=a6fc3c1e&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.yoursite.com/adserver/www/delivery/avw.php?zoneid=4&cb=INSERT_RANDOM_NUMBER_HERE&n=a6fc3c1e' border='0' alt='' /></a></noscript> {/literal} Ps: the "www.yousite.com" will automatically generated and no need to be changed Regards. Edited August 31, 2013 by rob84 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted September 1, 2013 Share Posted September 1, 2013 Do you have a link to the site with the code pasted in it? Link to comment Share on other sites More sharing options...
rob84 Posted September 1, 2013 Share Posted September 1, 2013 Do you have a link to the site with the code pasted in it? No at moment. Why ? Link to comment Share on other sites More sharing options...
Dh42 Posted September 1, 2013 Share Posted September 1, 2013 Then it is going to be impossible to troubleshoot the site without seeing it. Link to comment Share on other sites More sharing options...
rob84 Posted September 2, 2013 Share Posted September 2, 2013 Hi all I'm trying to use the OpenX iframe to slap down some banners all up in my interwebs, but there seems to be some syntax error in the iframe code. I have tested this on other php based pages, and found that it works perfectly, so I'm not sure what the issue is with PrestaShop Has anyone encountered this issue previously / have a possible solution? Cheers in advance Then it is going to be impossible to troubleshoot the site without seeing it. I think the user "Someone_else" should post the website link, so we could help him. Link to comment Share on other sites More sharing options...
rob84 Posted September 2, 2013 Share Posted September 2, 2013 Then it is going to be impossible to troubleshoot the site without seeing it. I think the user "Someone_else" should post the website link, so we could help him. Link to comment Share on other sites More sharing options...
dreamajax Posted September 3, 2013 Share Posted September 3, 2013 (edited) Hi, It's possible to display banners using Openx iframe tag.Please check OpenXservices.com,I'm sure they will provide the solution that you are looking for. Edited September 3, 2013 by dreamajax (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now