Posted on: 06/04/03 04:05pm
By: tingo
Has anybody made an "events listing" function or hack for Geeklog?
For one of the sites that I'm involved in, what the users really want is a nice listing of events that they can print out, instead of (actually, in addition to) the calendar "view", which doesn't print very well. Preferably sorted by date, maybe with month headings?
That would make it easy to generate a pdf file on-the-fly, too.
Events listing?
Posted on: 06/08/03 10:24pm
By: tingo
Well, since nobody answered (and I really needed this for a site I run), I went ahead and made a quick hack of it. It is called listevents for want of a better name. The file should show up in the download section here (when or if it gets approved).
Currently, it is very basic, it just lists all events in the system (that you have access to) sorted by date. It can also do a 'printable' view, but thats about it for now.
Events listing?
Posted on: 06/12/03 11:05am
By: qgil
Precisely today a client is asking us the same, if it's possible to have this events list on <a href="http://www.fibrosiquistica.org/~jp50893/">the geeklog hes about to release</a>.<p>
So thank you for the hack. We'll wait a bit to make sure you find it stable and maybe we can reuse it.
Events listing?
Posted on: 06/12/03 11:07am
By: qgil
Sorry for the HTML tags, forgot to put it in HTL formatted.
BTW, I also forgot to ask if you have this events listing page in a public URL. Thanks.
Events listing?
Posted on: 05/19/05 03:06am
By: tingo
[QUOTE BY= qgil] Precisely today a client is asking us the same, if it's possible to have this events list on
the geeklog hes about to release[*1] .
So thank you for the hack. We'll wait a bit to make sure you find it stable and maybe we can reuse it.[/QUOTE]
The hack is in the downloads section here. If somebody improives it, I would be happy if they released the improved version.
Events listing?
Posted on: 05/19/05 03:07am
By: tingo
[QUOTE BY= qgil]
BTW, I also forgot to ask if you have this events listing page in a public URL. Thanks.[/QUOTE]
Yes, the events listing page can be a public URL, just like the rest of the site.
Events listing?
Posted on: 05/19/05 04:29pm
By: tingo
Suggestions for improvement:
- make the script display events from the start of the year
- make the scipt display events from todays date
- add date selection "boxes", that way the user can choose start and end date for the listing
Events listing?
Posted on: 05/21/06 08:48pm
By: ldfoo
I use the
ListEvents[*2] hack to output a workshop schedule - It works very well except that to limit the events to a single event type, I need to either limit the type of events allowed to this single type or as I have done, edit the listevents hack to only output a specific event. I would love to be able to improve on this hack but my attempts to date have not been successful. A first momentus step would be to be able to use the event type in the url to then output a filtered event list.
Has anyone tried this or have any hints on how I could do this. If it helps, I could quote the code here but thought it may be too long.
Thanks
Laurie
Re: Events listing?
Posted on: 12/20/06 07:55am
By: Dazzy
Has anyone modified this to work with 1.4.1? I have not got the expertise to do this myself unfortunately.
Re: Events listing?
Posted on: 12/20/06 04:18pm
By: Anonymous (ldfoo)
I gave up on this and am using the search function on events to output lists - not as good and misses the useful "print" function but does the job. The tricky thing with the search is that it only searches the description field and not include the event category.
rgds
laurie
Re: Events listing?
Posted on: 12/22/06 05:11pm
By: Dazzy
Hey
once I sobered up I figured it out, very easy in fact, just modify the listitem.thml file in yourtheme/events folder
Text Formatted Code
<tr align="center">
<td>{event_startdate}</td>
<td>{event_enddate}</td>
<td align="left">
<a href="{site_url}/calendar/event.php?eid={event_id}">{event_title}</a>
</td>
</tr>