Custom Landscape issue

YoWindow widget Questions, Suggestions and Bugs
Post Reply
wpl

Custom Landscape issue

Post by wpl »

Hi there guys

I have tried to sort it out myself but i think i have failed so i have decided to ask you for a help.

First of all i have a hosting on a http://www.hostpapa.co.uk/
And i don't use a domain just yet as the portal what i have created is still not ready to be open running.
So i use ip address for testing before i redirect the traffic into domain.

The root folder is
http://76.74.128.150/~warri009
The portal folder is
http://76.74.128.150/~warri009/Portal

so i have pasted the crossdomain.xml into http://76.74.128.150/~warri009/
the file contain:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros ... policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>

and the Landscape folder is located at
http://76.74.128.150/~warri009/Portal/y ... Ready2.ywl
http://76.74.128.150/~warri009/Portal/y ... /Ready.png
http://76.74.128.150/~warri009/Portal/y ... /Ready.swf

The widget code with the Village

<div style="width:140px; height:200px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="140" height="200">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:2634739&location_name=Warrington&time_format=24&us=metric&lang=pl&background=#FFFFFF&mini_momentBar=true&copyright_bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:140px;height:200px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Free Weather Widget</a>
</object>
</div>
<div style="width: 140px; 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; text-decoration:none;" title="Free Weather Widget">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>

So my question is what should i change and where to make it working.
The YoWindow 2.0 is working perfect on my desktop.
Please help.
Thank You
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Custom Landscape issue

Post by ikarus1969 »

wpl wrote:...
and the Landscape folder is located at
http://76.74.128.150/~warri009/Portal/y ... Ready2.ywl
http://76.74.128.150/~warri009/Portal/y ... /Ready.png
http://76.74.128.150/~warri009/Portal/y ... /Ready.swf

The widget code with the Village

<div style="width:140px; height:200px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="140" height="200">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:2634739&location_name=Warrington&time_format=24&us=metric&lang=pl&background=#FFFFFF&mini_momentBar=true&copyright_bar=false"
/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:140px;height:200px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Free Weather Widget</a>
</object>
</div>
<div style="width: 140px; 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; text-decoration:none;" title="Free Weather Widget">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>

So my question is what should i change and where to make it working.
The YoWindow 2.0 is working perfect on my desktop.
Please help.
Thank You
Hi wpl! (would you mind telling us your name? mine is Reinhart)

You have to tell the widget where the landscape file is located (the ywl-file).
You do this by using the "landscape"-parameter for the widget - see the widget-parameters from the faq.

In your case you have to add "landscape=http://76.74.128.150/~warri009/Portal/y ... Ready2.ywl" to the flashvars-parameter and try it again.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Custom Landscape issue

Post by Wally© »

+ the src="Ready.png" in the .ywl file should be changed to scr="Ready.swf"

You can easily do this by editing the .ywl file in notepad...
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Custom Landscape issue

Post by ikarus1969 »

Wally© wrote:+ the src="Ready.png" in the .ywl file should be changed to scr="Ready.swf"

You can easily do this by editing the .ywl file in notepad...
..but that's no (technical) requirement - the .swf is just smaller (here: ~90%) and therefore faster to load.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Custom Landscape issue

Post by hermanz »

Hi Slawek :good:
so i have pasted the crossdomain.xml into http://76.74.128.150/~warri009/
You have to place the file crossdomain.xml in the root of the server.
In your case is this http://76.74.128.150/crossdomain.xml

gr.
Herman :beer:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
wpl

Re: Custom Landscape issue

Post by wpl »

Hi guys
First of all sorry for not telling you my name it's Slawek :)
Your help is priceless i have done everything as it should be but still didn't get what i want so i believe it's the xml file which is not in root folder of the server i will contact the administrator of the server and i will ask him if he could upload it there where it should be. If that wouldn't be possible do you know maybe if i could upload the *.ywf and *.swf files onto YoWindow server and host it from here same like colosseum ?

Regards
Slawek
Post Reply