Jump to content

Goggle adsense inn prestashop 1.6


kkmixs

Recommended Posts

i have install the prestashop 1.6 sucessfully, but now i am not able to add adsense code to it.

Here is my website:
embroideryshristi.com/

 

i have tried to add ads using literal tag in category.tpl page.but it donot appear on my site.Further, if you look in page source and on my website you will find that the ads code appear in footer even though i have not addded to it.

Please note that the ads appear on the left column is added in html box, but i can not edit the tpl file to addd code.

At last, it is possible to add goggle adsense code in CMS block appear in the front of facebook block (theme congf>CMS block) ?

I want to add recentage ads on the both CMS block appear in front of facebook block.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
  • 2 weeks later...

for some reason the contentbox and htmlbox transform this:

 

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- desbloqueatufon_bottom -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-9325087057698481"
     data-ad-slot="6788857455"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
 
 
 
INTO THIS:
 
<p>
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async=""></script>
</p>
<!-- desbloqueatufon_bottom -->
<p> </p>
<p>
<script>// <![CDATA[
(adsbygoogle = window.adsbygoogle || []).push({});
// ]]></script>
</p>
 
 
AND DOES NOT WORK
Link to comment
Share on other sites

Hi Vekia,

 

- In Preferencies - General ? I tried to find it without success.

- Performance Settings inside... where?

 

Thank you,

 

For now I did end up by modifying the product.tpl and footer.tpl

Link to comment
Share on other sites

this is why there is no html purifier.

 

okay, so in html box free module:

disable TINYMCE editor and paste code to textbox without turning on tinymce

save changes also without tinymce

 

after that code will not be altered

Link to comment
Share on other sites

where is the TINYMCE editor? if you mean about the Editor On Off buttons, I clicked Off there already, that dissapears the box and everything, then paste the code, then Save, and then the code gets changed.

 

For some reason when I hit Save, the Toolbars and everything turn on again. When I turn them off to see the code its already modified.

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...