1 Reply Latest reply: Sep 29, 2014 6:45 AM by Alex Pavelescu RSS

    Is it possible to show only the next 3 upcoming events?

    Rleyers Community Member

      So we're using the event module more as an advanced calender. But we have a lot of events already on a set date so the event list is too big.

      We would like to show only the next 3 upcoming events in the event list lay-out.

        • 1. Re: Is it possible to show only the next 3 upcoming events?
          Alex Pavelescu Adobe Employee

          Hi

           

          The syntax for the respective module is {module_booking,filter,ID, or numberOfBookings}

          Parameters:

          • Filter - filtering criteria for display and can be one of the following:
            • i - individual item
            • a - all items
            • l - latest items
            • r - random item
            • cr - displays a random item in a particular category
          • ID or numberOfBookings
            • id - the ID of the booking module. System-generated; unnecessary to change
            • numberOfBookings - can be used with l parameter to limit the number of bookings displayed

           

          So basically {module_booking,l,5} - displays five latest events

           

           

          Hope this helps! More info here: Developer reference

           

          Kind Regards,

          Alex