Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
webguru (Guest)
webguru (Guest)
Has anyone managed to add Google Adsense and/or Google Search to the viart website?
 
Vito
Vito
Hello,
 
The following site is quite good of using such blocks
http://www.lilacmedia.net/
 
Thanks,
ViArt Support Team
 
Delicashop
Delicashop
It does work in version 3.5 when you do the following:
1/ Create a simple text file into which you put your AdSense code
2/ copy that file onto your server so it can be accessed by a URL such as http://myserver.com/myadsense.txt
3/ Create Custom block for which you specify the content to come from the file specified in step above
4/ Add the Custom block wherever you need using the ViArt CMS
 
So far it worked on all pages I put it onto, but I have not tried yet pages such as checkout where it might not be advisable... But general pages are fine - have a look at http://www.delicashop.com
 
Good luck!
Lubosh
 
Suddenhit
Suddenhit
If you allow to rin php (code) in blocks create a new block, press view source (envelope looking button) and enter the Adwords code . click update (if it shows as the code click update once more click on code delete everithing and incert once more.)
 
viartguru
viartguru
www.horoscoopvandedag.nl is a good example. go to the source code of your custom block and paste this code and afterwards you can modify this according to your need.
 
<script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXX"; google_ad_slot = "XXXXXXXX"; google_ad_width = 120; google_ad_height = 600; google_color_bg = "D6BC93"; google_color_link = "000000"; google_color_url = "000000"; google_color_text = "000000"; google_color_border = "D6BC93"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
 
hcanning
hcanning
This worked for me. Within the custom block create a 1 row 2 col table. Paste adsense script in rightmost cell and save. Below is a test i used
 
<META name=GENERATOR content="Microsoft FrontPage 5.0">
<META name=ProgId content=FrontPage.Editor.Document>
<TABLE style="BORDER-COLLAPSE: collapse" id=AutoNumber1 border=1 cellSpacing=0 borderColor=#ffffff cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="6%"> </TD>
<TD width="94%"> 
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-###mycode#######";
/* 728x90, created 19/10/09 */
google_ad_slot = "####mycode######";
google_ad_width = 728;
google_ad_height = 90;
//-->
</SCRIPT>
 
<SCRIPT type=text/javascript src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</SCRIPT>
</TD></TR></TBODY></TABLE>