Page 1 of 2
Weather side panel
Posted: Fri Jan 14, 2011 6:11 pm
by netjet
Hi Guys,
I would like to add the weather to my website.
It's easy to add it using "banner" but I would like to add it in a side panel (under right one for example.)
I'm looking for a simple and clean weather sticker.
First question: what sticker can I use?
Second question: how to put it in a new side panel?
Thanks
Re: Weather side panel
Posted: Mon Feb 07, 2011 7:07 pm
by netjet
nobody knows how to do this?
Re: Weather side panel
Posted: Tue Feb 08, 2011 11:24 am
by Tony Barnes
Sorry, missed this.
I'd just make a Weather.html panel:
Code: Select all
<div class="Block Weather Moveable Panel" id="Weather">
</div>
Go to
http://www.weather.com/services/oap.html, register/set things up, then copy and paste the code that it gives you into there:
Code: Select all
<div class="Block Weather Moveable Panel" id="Weather">
WHATEVER YOU GET GIVEN GOES IN HERE
</div>
Finally call it in any pages you want via %%Panel.Weather%%
Should work fine

Re: Weather side panel
Posted: Tue Feb 08, 2011 6:46 pm
by netjet
Tony, THANK YOU! you are a cream! (I dont know if we can say it in english?

)
I'm going to test it righ now and go back
Re: Weather side panel
Posted: Tue Feb 08, 2011 7:02 pm
by netjet
Tony Barnes wrote:Sorry, missed this.
I'd just make a Weather.html panel:
Code: Select all
<div class="Block Weather Moveable Panel" id="Weather">
</div>
Go to
http://www.weather.com/services/oap.html, register/set things up, then copy and paste the code that it gives you into there:
Code: Select all
<div class="Block Weather Moveable Panel" id="Weather">
WHATEVER YOU GET GIVEN GOES IN HERE
</div>
Finally call it in any pages you want via %%Panel.Weather%%
Should work fine

I still have a question, where do I have to call %%Panel.Weather%% for having the panel inserted in the side?
Re: Weather side panel
Posted: Tue Feb 08, 2011 7:20 pm
by netjet
I think I found how, I have to edit default.html file and insert the new panel in the column I want ie layoutcolumn3!
Re: Weather side panel
Posted: Tue Feb 08, 2011 7:56 pm
by netjet
Tony, Thank you it's working perfectly!
i just followed exactly what you said:
- Create the file Weather.html
- Copied Weather.html in /Panels/
- Added the code in the <div class="Right" id="LayoutColumn3">
- That's all
Thank you again, btw it showed me also the way for putting the facebook api in the side (I was asking in another post)
Do you know if there is simplest weather module? Because this one have to much advertising and links?
Re: Weather side panel
Posted: Wed Feb 09, 2011 9:57 am
by Tony Barnes
Glad you got it going
No idea on other ones available, that one was literally the first I could think of, as I've seen it on other sites. Have a google around, any that have a similar module will add across just fine.
Alternatively, what is the URL that you have set it up on? Is the module flash based? If it is HTML based, you could hide the adverts with some CSS/javascript
Re: Weather side panel
Posted: Wed Feb 09, 2011 1:57 pm
by netjet
Tony Barnes wrote:Glad you got it going
No idea on other ones available, that one was literally the first I could think of, as I've seen it on other sites. Have a google around, any that have a similar module will add across just fine.
Alternatively, what is the URL that you have set it up on? Is the module flash based? If it is HTML based, you could hide the adverts with some CSS/javascript
Hi Tony,
I used wunderground, the stickers are cleaner and I removed the href for better seo.
I send you the url in pm
I wish I can help someday
Thanks again
Re: Weather side panel
Posted: Wed Feb 09, 2011 4:17 pm
by Tony Barnes
That's looking fairly neat, nicely
