Support » Plugins » [Plugin: Events Manager] how to group events by month

  • Resolved Bristol CI

    (@bristol-ci)


    I would love to be able to group my events by month. Currently they are simply listed in date order down the page but having them grouped under the relevant month heading would really help.

    I have made an attempt to do this with the code below, but this repeats the month and year (as you can see on my sites events page http://contactdance.co.uk/events/

    <tr class="eventcat-#_CATEGORYID">
    
    			<td>
                   <strong> #_{F Y} </strong>
                </td>
    <td>
                   <strong> #_{D d} #@_{- D d}</strong><br/>
                   <i>#_24HSTARTTIME-#_24HENDTIME</i>
                </td>
                <td>
                   <strong> #_EVENTLINK</strong><br/>
                    <i>#_LOCATIONLINK</i>
                </td>
    <td>
                   <i>#_ATT{Teacher}</i><br/>
               </td>
    <td>
                   <i>#_ATT{Price}</i><br/>
               </td>
    <td>
                   <i>#_CATEGORYLINK</i><br/>
                </td>
            </tr>

    Ideally there would be a separate header of the month, with the events listed below e.g. (after the main headers)

    MONTH EVENT TEACHER PRICE CATEGORY
    January 11

    Monday 1 – dance-a-thon – A Smith – £4 – CI class
    etc….
    February 11
    Tuesday 12 – break – A Nother – £6 – CI Class
    etc….

    If that’s not possible, is there a bit of conditional code that would stop each month repeating so that it is just listed once in the listing?

    Any help would be much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Events Manager] how to group events by month’ is closed to new replies.