Weather Block - Free
Permalink
Hi All,
Attached is a block and an image preview to display weather information for a group of zip-codes or a single zip code, this is just a test before I submit this to the marketplace, please feel free to provide feedback, thanks to all.
Attached is a block and an image preview to display weather information for a group of zip-codes or a single zip code, this is just a test before I submit this to the marketplace, please feel free to provide feedback, thanks to all.
Just put it on my football site. Nice job. One request though, make the size adjustable. I want to put it in a sidebar but can't due to the one size fits all approach. maybe make the image be in the background so the bounding box can re-size and the text could adjust automatically. otherwise nice job.
Good point, I will make some changes and re-upload for testing, thanks for the feedback :)
I am getting an error.
Fatal error: Cannot redeclare class ZoidweatherBlockController in /home/agapeweb/public_html/packages/zoid_weather/blocks/zoidweather/controller.php on line 62
Any ideas?
Current Version 5.5.1
Thanks!!
Fatal error: Cannot redeclare class ZoidweatherBlockController in /home/agapeweb/public_html/packages/zoid_weather/blocks/zoidweather/controller.php on line 62
Any ideas?
Current Version 5.5.1
Thanks!!
I'm not getting that error, but a view source shows the following:
Also, I think if you are going to change colors, that should be in the add/edit form, and not hard-coded in the css. You could have different colors depending on page types, or even sidebars, etc.
Can't see it at all on the flex960 theme :(
<script type="text/javascript" src="/blocks/zoidweather/js/zoidweather.js?v=45de1c158eecf82d8d9a97e64de24a80"></script> <script type="text/javascript" src="http://c5dev.webashland.com/blocks/zoidweather/js/zoidweather.js"></script>
Also, I think if you are going to change colors, that should be in the add/edit form, and not hard-coded in the css. You could have different colors depending on page types, or even sidebars, etc.
Can't see it at all on the flex960 theme :(
I am implementing this on a site now. Can you give me an idea on how to hard code this into a template feeding it a dynamic location based on a variable I have on the page when it loads?
If you unzip this into your packages directory. Then, as per C5 "Login to your website, go to the “Add Functionality” page of the dashboard, and your package should be listed under the “New” column, ready for you to install it."
Here is a post on how to add the block into your template:http://www.concrete5.org/community/forums/customizing_c5/how_to_cal...
However, I prefer using a global edit area and sticking the block in there. Kinda like this:
Here is a post on how to add the block into your template:http://www.concrete5.org/community/forums/customizing_c5/how_to_cal...
However, I prefer using a global edit area and sticking the block in there. Kinda like this:
<?php $a = new GlobalArea('Weather Feed'); $a->display($c); ?>