A javascript calendar in your eZ Publish page

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 ezAgenda. It features a datatype to store events, and some templates to build a calendar and show events over it.

ezAgenda screenshot

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:

JS calendar screenshot

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).

Download the files: agenda.tar

Plugins for WordPress-MU: ‘List all’ and ‘Recent Posts’

WordPress-MU is an official modification for WordPress able to manage multiple blogs with a single installation. I have used it to set up a platform for school newspapers, supported by the Council of Coruña.

I use the main page of the system as a summary of all the newspapers, showing the active blogs and the latest news produced on them. For that subject I found two useful plugins: List all and Most recent posts. As their name states, the first one lists the public blogs of the system and the second one extracts the latest news.

I needed a more complex behavior from them, so I made some modifications. Basically, I replaced the two parameters that wrapped the list with a format string as used in printf-like functions. Now the user can control all the content inside the list item, not only the beginning and the end.

Here are the files. Hope they’re useful for someone!