Page 1 of 1

Different info in HTML code and on the site itself

Posted: Thu Sep 13, 2012 12:42 am
by s0na
Hi.
i've been trying to use your weather service by HTML code and i just stambled uppon a problem.
basicly when we pick our options on your site, as in region, metric system, background, language, and so on, it is changing on the HTML code but after we place it on our site, none of the options is taking effect.
Exemple. we select, portugal as country, porto as city, meters as in metric system,portuguese lang., sea background and so on, everything looks ok on the HTML code. altho when we place it on the site and update the page, it's showing base setings that shows up on your site options (only country stays as we picked (portugal)Metric sys goes to USA, lang to english, city to 1st in list of portuguese cities).
besides the fact everything seems fine in the code and on preview pic on your site, on the site it self its still showing up wrong.
i would like to know if theres any kind of bug here related with it and making it happen, and if so, wich is the best way to solve it.
also, if someone found same or related problem please feel free to share how you fixed it.
thank you in advance for support.
best regards.

Re: Different info in HTML code and on the site itself

Posted: Thu Sep 13, 2012 1:03 am
by countryroads
Hi Ksenia,

Welcome to YoWindow.

I just tried the steps that you described and I wound up with the code for a place near me in the USA and in English. I stayed at the Widget Creation page. I did not exit out.

I checked the html code and saw that it was wrong. I scrolled back up the page to select Portugal and Porto all over again. This time, the html code was correct and I copied it and pasted into an html. Everything ran okay. It was now in Portugese and was displaying Porto, Portugal.

Thank you for finding this error. I am letting the Author of YoWindow know about this error.

Thank you again.

Marty

Re: Different info in HTML code and on the site itself

Posted: Thu Sep 13, 2012 2:04 am
by s0na
Ty for fast answer.
But i'm still with the same problem.
Tried and retried again and again.
HTML code looks fine:
<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="220" height="150">
<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:2735943&location_name=Porto&landscape=seaside&time_format=24&unit_system=metric&lang=pt&background=#FFFFFF&copyright_bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:220px;height:150px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Widget do Tempo</a>
</object>
</div>
<div style="width: 220px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="Widget do Tempo">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

but on the site its appearing as
Image
As you can see, nothing is as it in HTML code.. Only country.

But maybe problem can be because i'm using HTML code (the one for all sites/blogs) on the page on wordpress site? (i've template w/o sidebars, so can't use it via widget)? I really doubt so, but who knows :P

Regards

Re: Different info in HTML code and on the site itself

Posted: Thu Sep 13, 2012 4:40 pm
by FvE
Hi Ksenia,

You are right. For Wordpress you need another code.
Please go to the website: http://yowindow.com/weatherwidget.php and select WordPress:
WordPress.jpg
Goodluck,
Fred

Re: Different info in HTML code and on the site itself

Posted: Thu Sep 13, 2012 11:58 pm
by s0na
Hi again :)
I already tried WordPress code, but it's not showing up correctly also.
It looks on the page like that:
Image

Maybe cuz i'm putting it on the page directly? Because i have no sidebars in my theme, so no widgets also.
I'm rly in love with your site and that weather widget. And want to have it on my site. But dunno what else to do..

Regards

Re: Different info in HTML code and on the site itself

Posted: Fri Sep 14, 2012 12:21 am
by countryroads
Hi Ksenia,

Here is a Wordpress site that has several Widgets in it. http://portaleazzurro.wordpress.com/
View the source code and maybe you can see what additional code you need.

Good Luck.

Marty

Re: Different info in HTML code and on the site itself

Posted: Fri Sep 14, 2012 6:53 pm
by par
Hey, Ksenia!
Have you already followed our tutorial that shows how to add YoWindow widget to WordPress?
http://yowindow.com/widget_wordpress.php

Re: Different info in HTML code and on the site itself

Posted: Sat Sep 15, 2012 3:17 am
by s0na
Hi!
I saw that tutorial, but it's not my case, because, as i said before, i can not use widgets (my WordPress theme has no sidebars) so only one way for me - put it directly on the page.
So i was trying to put on the page and WP code and code for other sites/blogs and nothing working as it supose to for me (screenshots are upper) :unknown:

Regards

Re: Different info in HTML code and on the site itself

Posted: Sun Sep 16, 2012 3:23 pm
by par
I'm not a Word Press expert, but it looks like what you are trying to do is to paste HTML code inside regular text field.
This is not going to work.
Word Press needs to know that you want HTML code to be interpreted.
If you are absolutely sure there is no way to add an HTML widget - you won't be able to add YoWindow widget as well.