Page 1 of 1

Custom Landscape issue

Posted: Tue Jul 12, 2011 2:19 am
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

Re: Custom Landscape issue

Posted: Tue Jul 12, 2011 4:12 am
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.

Re: Custom Landscape issue

Posted: Tue Jul 12, 2011 4:46 am
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...

Re: Custom Landscape issue

Posted: Tue Jul 12, 2011 6:11 am
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.

Re: Custom Landscape issue

Posted: Tue Jul 12, 2011 7:02 am
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:

Re: Custom Landscape issue

Posted: Tue Jul 12, 2011 10:59 am
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