Calendar Sideblock
Category Enhancement
Bookmark :
It's taken a bit of extra time but the final part of 3.0.1 Beta 6 is now ready and is visible here in the sidebar of this blog. It's the all new calendar sideblock.
Blogsphere V1 & V2 also had a calendar sideblock but it worked very differently from the new version. In the old version a calendar document with the pregenerated html code was created everytime a blog entry was saved. This added extra time onto the end of the save routines and it could be noticed when you blog started getting lots of entries that it took longer and longer to process the calendar document.
In BlogSphere V3 I decided to rewrite the calendar sideblock and turn it into a dynamically generated sideblock that would be generated on the fly when a user visits your site. This adds some immediate benefits such as being able to translate the calendar headings into the language of the visiting browser and also being able to generate calendars for previous months.
Using the ProtoType Javascript library that is already used by BlogSphere for the Web Poll function I then decided that it would be better to make the calendar into an AJAX calendar so that the page can load and display to the user while the calendar is being generated by the server. This means I can also have forward and back buttons on the calendar to view other months without having to reload the entire page.
Check it out, I think you'll like it :-)
Bookmark :
It's taken a bit of extra time but the final part of 3.0.1 Beta 6 is now ready and is visible here in the sidebar of this blog. It's the all new calendar sideblock.
Blogsphere V1 & V2 also had a calendar sideblock but it worked very differently from the new version. In the old version a calendar document with the pregenerated html code was created everytime a blog entry was saved. This added extra time onto the end of the save routines and it could be noticed when you blog started getting lots of entries that it took longer and longer to process the calendar document.
In BlogSphere V3 I decided to rewrite the calendar sideblock and turn it into a dynamically generated sideblock that would be generated on the fly when a user visits your site. This adds some immediate benefits such as being able to translate the calendar headings into the language of the visiting browser and also being able to generate calendars for previous months.
Using the ProtoType Javascript library that is already used by BlogSphere for the Web Poll function I then decided that it would be better to make the calendar into an AJAX calendar so that the page can load and display to the user while the calendar is being generated by the server. This means I can also have forward and back buttons on the calendar to view other months without having to reload the entire page.
Check it out, I think you'll like it :-)








Comments
Posted by Joe Litton At 09:45:42 PM On 02/26/2007 | - Website - |
Posted by Chad Schelfhout At 10:33:38 PM On 02/26/2007 | - Website - |
So what ever you did or did not do it fixed the problem because I can not recreate it.
Posted by Chad Schelfhout At 10:55:00 PM On 02/26/2007 | - Website - |
Posted by Declan Lynch At 10:56:57 PM On 02/26/2007 | - Website - |
Posted by Chad Schelfhout At 11:00:42 PM On 02/26/2007 | - Website - |
Thought you'd want to know, the nav links at the top for "Prev|Main|Next" seem wonky. For example, the next link looks like "<$BSNextEntryTitle$>ยป" and its url like "...bsphere.nsf/<$BSNextEntryPermalink$>"
Posted by Andrew Barker At 09:04:41 AM On 02/27/2007 | - Website - |
Noticing that when clicking on a day with entries (indicated in the calendar), unless it's all the way back to October, I get a 'Nothing to display' result back in the left (main content) area.
For instance, Jan 9th, Nov 2nd, 3rd, 8th...
Seems a little strange that the calendar returns to the current month even if you used it to navigate to a previous month, but this may just be working as you intend it...
All could be a result of you tweaking it as we speak...just noticing stuff...great job so far!
Posted by Phil Randolph At 10:01:14 AM On 02/27/2007 | - Website - |
Posted by Todd At 03:17:49 PM On 02/28/2007 | - Website - |
Posted by Ray "The Lion King" Bilyk At 12:18:30 PM On 03/06/2007 | - Website - |
Posted by Jason At 07:46:19 PM On 04/04/2007 | - Website - |