- The calender control highlights the dates during which approved blog posts were published in the SharePoint blog site.
- The dates when hovered would display a small pop-up listing down link to the corresponding date’s blog posts that were published.
- The links when clicked would take you to the respective blog post’s page.
- You can also navigate to the previous and next month in the calendar to see the corresponding month’s data in a similar way as explained above.
Look at the below image for a better understanding:
As you can see in the above image, cells 1, 6, and 31 are highlighted with a blue color border to show that these are the dates in the current month having blog posts published. Also when you hover over date ‘6’ in the calendar you can see that a pop-up is being shown displaying the links to the posts published on that particular date.
I have used the jQuery DatePicker control and SharePoint list web service to get this application done. I have tested this in an Office 365 SharePoint 2013 preview site and it works fine too. But I wanted to develop it as an app and publish it in the app store for SharePoint 2013. So please wait until I get a SharePoint 2013 development environment.
Since it is purely a client side application, we can simply deploy it by just moving the files. I assume that you have worked with CEWP before. I have explained the deployment process through the below steps:
- Download the jQCalendarBlog.zip file from here.
- Unzip the jQCalendarBlog.zip file
- Copy the unzipped jQCalendarBlog folder in to the layouts folder of SharePoint server.
- Create a Content Editor Web Part anywhere in your SharePoint Blog site where you want to display this web part.
- Open the jQCalendarBlog.min.js file from the jQCalendarBlog folder and copy the content in to the CEWP created above.
- Save the page to see the web part showing a jQuery calendar control synchronized with the blog posts in your blog site.