While developing the new Joomla 1.5 website for Community Legal Aid I added a calendar of events using the JEvents component. To give the calendar a professional look that matched the site, I had to create a custom JEvents template. This involved plumbing the undocumented depths of JEvents and rewriting much of the PHP code and all of the CSS styles. Below is just a sample of the code which writes out an individual event on the calendar. The main routine is writeEventListItem().



Code Samples

