{"id":15,"date":"2008-11-18T22:15:04","date_gmt":"2008-11-18T20:15:04","guid":{"rendered":"http:\/\/blogs.igalia.com\/jaragunde\/2008\/11\/18\/a-javascript-calendar-in-your-ez-publish-page\/"},"modified":"2008-11-18T22:15:04","modified_gmt":"2008-11-18T20:15:04","slug":"a-javascript-calendar-in-your-ez-publish-page","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/jaragunde\/2008\/11\/a-javascript-calendar-in-your-ez-publish-page\/","title":{"rendered":"A javascript calendar in your eZ Publish page"},"content":{"rendered":"<p>If you maintain a web site built on eZ Publish 3.x, maybe you miss having a calendar on your side bar, where you could mark special events on. Or at least, I did, so I searched a bit and read that a calendar was included in ezwebin, the new design that comes with eZ Publish 3.9. Unfortunately, its integration in an older eZ site looked like pain for me, but I found an alternative, a contribution called <a href=\"http:\/\/ez.no\/developer\/contribs\/applications\/ezagenda\" target=\"_blank\">ezAgenda<\/a>. It features a datatype to store events, and some templates to build a calendar and show events over it.<\/p>\n<p><a href=\"http:\/\/ez.no\/var\/ezno\/storage\/images\/community\/contribs\/applications\/ezagenda\/501667-18-eng-GB\/ezagenda.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ez.no\/var\/ezno\/storage\/images\/community\/contribs\/applications\/ezagenda\/501667-18-eng-GB\/ezagenda.gif\" alt=\"ezAgenda screenshot\" width=\"270\" height=\"195\" \/><\/a><\/p>\n<p>I took its code and adapted it to my needs. In particular, I wanted the calendar to be integrated in a side bar, and show the name of the events in a pop-up when the mouse is over it. Something like this:<\/p>\n<p><a href=\"http:\/\/blogs.igalia.com\/jaragunde\/files\/2008\/11\/js_calendar_screenshot.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/jaragunde\/files\/2008\/11\/js_calendar_screenshot.png\" alt=\"JS calendar screenshot\" width=\"108\" height=\"96\" \/><\/a><\/p>\n<p>There are some other changes and improvements, which are explained in the readme file. You will also find there the installation instructions (basically, you have to place the files, create the datatype and add the overrides to activate the templates).<\/p>\n<p><strong>Download the files: <a id=\"p17\" href=\"http:\/\/blogs.igalia.com\/jaragunde\/files\/2008\/11\/agenda.tar\">agenda.tar<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you maintain a web site built on eZ Publish 3.x, maybe you miss having a calendar on your side bar, where you could mark special events on. Or at least, I did, so I searched a bit and read &hellip; <a href=\"https:\/\/blogs.igalia.com\/jaragunde\/2008\/11\/a-javascript-calendar-in-your-ez-publish-page\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,10],"tags":[13],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-ez-publish","category-intranet-education-coruna","category-web","tag-edu-coruna"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}