skrypi
02-10-2014, 22:28
Witam
Wpisuje w module własny kod html:
<div id="ceneoaffcontainer18053"></div>
<a id="ceneoaff-logo" title="Ceneo" href="http://www.ceneo.pl/#pid=6653&crid=18053&cid=8155" rel="nofollow"><img style="border:0;width:1px;height:1px;" src="http://app.ceneostatic.pl/common/image/logo/ap-logo-transparent-small.png" alt="Ceneo" /></a>
<script type="text/javascript" charset="utf-8">
if (typeof CeneoAPOptions == "undefined" || CeneoAPOptions == null)
{
var CeneoAPOptions = new Array();
stamp = parseInt(new Date().getTime()/86400, 10);
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "http://partnerzyapi.ceneo.pl/External/ap.js?"+stamp);
script.setAttribute("charset", "utf-8");
var head = document.getElementsByTagName("head")[0];
head.appendChild(script);
}
CeneoAPOptions[CeneoAPOptions.length] =
{
ad_creation: 18053,
ad_channel: 8155,
ad_partner: 6653,
ad_type: 1,
ad_content: '58',
ad_format: 9,
ad_newpage: true,
ad_basket: false,
ad_container: 'ceneoaffcontainer18053',
ad_formatTypeId: 1
};
</script>
W konfiguracji włączyłem Edytor Prosty i niestety pokazuje tekst na stronie a nie reklamę.
Wpisuje w module własny kod html:
<div id="ceneoaffcontainer18053"></div>
<a id="ceneoaff-logo" title="Ceneo" href="http://www.ceneo.pl/#pid=6653&crid=18053&cid=8155" rel="nofollow"><img style="border:0;width:1px;height:1px;" src="http://app.ceneostatic.pl/common/image/logo/ap-logo-transparent-small.png" alt="Ceneo" /></a>
<script type="text/javascript" charset="utf-8">
if (typeof CeneoAPOptions == "undefined" || CeneoAPOptions == null)
{
var CeneoAPOptions = new Array();
stamp = parseInt(new Date().getTime()/86400, 10);
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "http://partnerzyapi.ceneo.pl/External/ap.js?"+stamp);
script.setAttribute("charset", "utf-8");
var head = document.getElementsByTagName("head")[0];
head.appendChild(script);
}
CeneoAPOptions[CeneoAPOptions.length] =
{
ad_creation: 18053,
ad_channel: 8155,
ad_partner: 6653,
ad_type: 1,
ad_content: '58',
ad_format: 9,
ad_newpage: true,
ad_basket: false,
ad_container: 'ceneoaffcontainer18053',
ad_formatTypeId: 1
};
</script>
W konfiguracji włączyłem Edytor Prosty i niestety pokazuje tekst na stronie a nie reklamę.