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:

http://www.andreasilbert.com/event

CommentFileSizeAuthor
#1 event_13.patch11.85 KBseanr
event_12.patch11.25 KBseanr

Comments

seanr’s picture

StatusFileSize
new11.85 KB

New version of patch per crunchywelch's request (moves list-specific condition out of event.module into event.theme).

killes@www.drop.org’s picture

Status: Needs review » Fixed

committed to the cvs version. Will get into 4.6 after next backport.

Anonymous’s picture

kmr2005’s picture

Simon Hui’s picture

Version: » 4.6.x-1.x-dev
Category: feature » support

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

somes’s picture

seanr’s picture

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

Simon Hui’s picture

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

  • LACA Fall Show (linked to node)
  • Event test (linked to node)


    Friday, September 30, 2005
  • LACA Fall Show (linked to node)
  • Event test (linked to node)

    etc.

    Can someone please show me how I can modify the codes to achieve this.
    Much obliged.

  • Anonymous’s picture

    Status: Fixed » Closed (fixed)