The attached patch adds a list view type which looks like the table view did in the old module (but better). Only days containing events are listed and events are indented under the date headers. Code is CSS divs only, no moretable code. This patch does not affect any other views, other than to add the appropriate list link to the links at the top of each andin the admin options. This patch can be seen in action here:
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | event_13.patch | 11.85 KB | seanr |
| event_12.patch | 11.25 KB | seanr |
Comments
Comment #1
seanrNew version of patch per crunchywelch's request (moves list-specific condition out of event.module into event.theme).
Comment #2
killes@www.drop.org commentedcommitted to the cvs version. Will get into 4.6 after next backport.
Comment #3
(not verified) commentedComment #4
kmr2005 commentedComment #5
Simon Hui commentedI want to use this simple list view and nothing else just like the sample http://www.andreasilbert.com/event.
If it is easy enough can someone outline for me what I need to do? I do not even know what to do with the patch!
Thanks.
Comment #6
somes commentedComment #7
seanrSave event_13.patch into your modules/event directory and run the following command assuming you're on a unix/linux system:
patch -p0 -u < event_13.patch
Windows instructions can be found here:
http://drupal.org/node/23409
The recommendation is to install cygwin and then run the command above.
Comment #8
Simon Hui commentedThanks. I have applied the patch and you can see the result here http://artistscolony.net/test/event. But the output is still too complex. I do not need a choice of month|week|day|table views, a table, nor all the other contents. All I want is a simple list as follows:
Thursday, September 29, 2005
Friday, September 30, 2005
etc.
Can someone please show me how I can modify the codes to achieve this.
Much obliged.
Comment #9
(not verified) commented