Hi guys,
Mango is here! This version I hope will be a huge improvement and a decent compensation for the ugly homepage you had to do with in versions lower than 3. Also good to know is that update took me about 10 seconds
So what is new? Well everything and nothing…
This version introduces a completely new concept of the homepage blocks! Version 3 was sort of a interphase between what I had originally in my head and it is now ready in version 4. There is also one new page, so make sure you read till the end!
I will not describe it in too much detail as there is a new dedicated page about it in the wiki, which you must read in order to be able to use it.
In summary - the blocks are now completely independent. What this means? This means you download the blocks just like you download plugins. Then, on the homepage you just specify the number of columns, their percentage width and the order of the blocks you have installed in which you want them to appear in that column.
Main advantages:
- absolute freedom in terms of the layout of the homepage - choose any number of columns you want, any order of blocks, any blocks you like
- possibility to create alternative homepages, for example one with just one column - ideal for mobile devices
- even if you put tens of blocks on your homepage, each one will load independently - this means your homepage will basically load instantly and then, those blocks that do not use any external resources or are cached, will also load instantly, the ones that do might take slightly longer, but you no longer have to wait for everything to load, and the user does not see a blank page. Number of blocks does not influence the loading time, some will simply show loading spinner for a while
- if one resource is temporarily unavailable, there is an error in one of the blocks etc. - your homepage loads absolutely fine, just that one particular block will be blank
- each block has a separate file if setting up is required - updates of blocks are very easy and you do not lose your settings
- all blocks have the unified design and styling, which corresponds to your config.php and what you specify in the index.php
- blocks are responsive, so will adjust based on the column width you specify
I have many ideas what other blocks I could create and it is very simple to do so now, so expect these to be released just like the regular plugins (which will of course also continue).
for now I have created almost 50 blocks to choose from. As mentioned above, use whichever ones you like, position them the way you like (any combination is possible) or even create several pages if you wish to. And even if you put many of them, the loading time will not be affected because the page loads gradually and some blocks show instantly.
all blocks are compatible with the new translations system so if not localized already, will be soon
Examples of some new blocks (all the ones included in version 3 are available):
- insert a text on your homepage using GUI text editor and your admin password - no need to use FTP, change the code etc.
- interactive map
- qr code
- greeting the user based on the time of the day
- NASA image of the day
- time until next sunrise/sunset
- analog clock
- calendar
- logo
- fire danger index
- cloud height
- cloud temperature
- precipitation summary
Make sure you read the wiki page which explains exactly how to install each block (very simple as usual - in most cases download → upload → add to the homepage).
And one more thing. Together with Ken from Saratoga we have created a script which will generate a file using your database which can then be used directly in the meso maps and you can use it to add your station to it!
Plans for the future:
- do not expect version 5 any time soon, the reason I released two major updates in a short period of time was because I so disliked the original homepage
- work on improving already existing plugins (localization, new functions)
- new blocks - especially I want to concentrate on adding region-specific blocks
- changes “under the hood” - especially to improve the possibilities for me to diagnose errors if there are any
Enjoy
http://www.meteotemplate.com/template/indexDefault.php - default homepage (no blocks, just the logo)
http://www.meteotemplate.com/template/index31.php - homepage with version 3 blocks
http://www.meteotemplate.com/template/indexAll.php - homepage with many blocks
Instructions for update in the blog, information about how to install blocks, set up the homepage layout etc. in the new wiki.
http://www.meteotemplate.com/web/wiki/wikiHomepage.php - WIKI instructions
http://meteotemplate.com/blog/?p=386 - Blog - upgrade info