Monthly view for events with EventList
Development, Joomla January 6th, 2011Today I had a problem for a customer project. I can’t show you a demo or something else at the moment, but I will do this later… At the moment I can show you only a screenshot:

I have to show the event in a Joomla with the great component EventList. The problem is that the component can’t show all events within a month, e.g. all events in April 2011.
So I started to take a look on the things EventList can do and saw that it can show events today and the next x days. Great
Next step was that I copied the view files and changed a little the information within it, so that I have the possibility to add a new menu entry with a start and end date.
Then I saw that I need to add some information in the router.php in the root of the component for “month”.
At least I need to create a model for month data.
Finished
The result is a set of files which were changed and tested on my development environment.I uploaded the files to our company server: http://www.conlabz.de/component/rokdownloads/downloads/code/joomla/9-patchel
Please backup your existing installation before you uplaod the files. Best way for upload is via FTP.
Let me know if you find something to do better or know something similar (I havn’t found anything
)
UPDATE: Please note, that an event must have a start and an end date otherwise the view is not working.
April 15th, 2011 at 5:10 pm
Hi Christian,
I am savy with css and html but quite new to joomla and php. I have uploaded the files. How do I call on your code to see the new filter options?
April 18th, 2011 at 2:15 pm
Hi Nick
Please make these settings while adding a new entry to the menu.
May 1st, 2011 at 4:48 pm
Hi Christian
I’ve uploaded your files and created a new menu entry. I entered the timespan (2011-05-01 – 2011-05-31) but when I click on the menu link in the frontend, no event entries are found. Do you have an idea what the problem could be?
Thanks in advance
Christoph
May 2nd, 2011 at 9:22 am
Hi Christoph
Do you have a link to see the problem?
Regards,
Christian.
May 2nd, 2011 at 6:45 pm
Hi Christian
This is the link:
http://www.musiksommerbadschallerbach.at/cms/index.php/programm/2011-programm-2
Thanks
Christoph
May 11th, 2011 at 4:10 pm
Hello Christian
Thanks a lot for your quick help.
The problem was that the end-dates of my venues were not maintained.
Christoph