1
gediminasbyt
Kiovi editor wont let showing Google ads

I had a google ads working fine till I decided to update them. I made custom block with folowing code:
<script type="text/javascript"><!--
google_ad_client "pub-clientnumber";
google_ad_width 160;
google_ad_height 600;
google_ad_format "160x600_as";
google_ad_type "text_image";
google_ad_channel ="";
google_color_border "336699";
google_color_bg "FFFFFF";
google_color_link "0000FF";
google_color_url "008000";
google_color_text "000000";
//--></script>
<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script>


Saved it as html and this shows me the code only. The only thing what is different from other site where the same code works (I removed client ID though) I made Kiovi editor as default editor on this one. Is there a possibility to go around it? I've tried updating system module but no luck.

I like Kiovi editor and would not like to get rid of it, therefore would like to know, can I find this Custom block in database and directly insert the code there? Will it work like that? I'm almost positive that Kiovi editor does something in the background to the code unless I'm missing something obvious there...

Gediminas

2
gediminasbyt
Re: Kiovi editor wont let showing Google ads

I do believe that was the problem, because when I went directly to sql database and manualy entered the code it works fine. What I noticed though was that regular text that was entered through Kiovi editor was shown like that in sql window, you must get rid off all the garbage:
<script type="text/javascript"><!--<br />google_ad_client 
"pub-0065533172544930";<br />google_ad_width 160;<br 
/>google_ad_height 600;<br />google_ad_format 
"160x600_as";<br />google_ad_type "text_image";<br 
/>google_ad_channel ="";<br />google_color_border 
"336699";<br />google_color_bg "FFFFFF";<br 
/>google_color_link "0000FF";<br />google_color_url 
"008000";<br />google_color_text "000000";<br 
/>//--></script><br /><script type="text/javascript"<br />  
src="<a 
href="
http://pagead2.googlesyndication.com/pagead/show_ads.js">http://pagead2.googlesyndication.com/pagead/show_ads.js</a>"><br
 
/></script></script>


Therefore I'm asking, is there possibility to get rid of the garbage and paste the code as it is in Kiovi editor.

3
pdajunkee
Re: Kiovi editor wont let showing Google ads
  • 2005/6/10 0:07

  • pdajunkee

  • Just popping in

  • Posts: 53

  • Since: 2004/9/3 2


I've tried to recreate but it works for me. I'm sure you're doing this, but just in case. Are you clicking the HTML box before you paste your code? Otherwise Kiovi will try to format it for you and put in it's own html, e.g. <br />.

There is a small bug here to watch though... click the HTML box again after you have pasted your code, otherwise Kiovi won't save it.

4
gediminasbyt
Re: Kiovi editor wont let showing Google ads

Well, I was trying that html box, but it just wouldn't save any input doesn't matter what you click

I managed to save input only when I have entered manualy without html.

what I did:
1: Click html
2: Paste code
3: Save
Nothing
3: Click html box
Nothing
3: Click html input some info like "test" click again html
"test" shows up
4: Kiovi does not work.
5:Live with it or wait for a fix

Thanks pdajunkee but I can't figure this one out with Kiovi not that many blocks so I'll just manualy edit sql for now.

Login

Who's Online

139 user(s) are online (76 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits