The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Events Manager
[resolved] Random event list (4 posts)

  1. synthesis0
    Posted 4 years ago #

    Hi guys,
    In the "today" scope I need to show up the event list in a random order, so that they are not ordered by time or name.

    I'm wondering if it's the case to modify the code shown here:

    and how,

    or hacking the plugin code to get a new ordering attribute like:

    [event_list order="RAND"]

    instead of ASC and DESC

    Thank you for your help.


  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    That wouldn't work. You'd probably have to use PHP to get this done, e.g.

    $events = EM_Events::get();

  3. Renzo Bassi
    Posted 3 years ago #

    Hi, synthesis0
    have you solved?

    Hy Marcus,
    can I have an example? How and where to use this PHP code?

  4. angelo_nwl
    NetWebLogic Support
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic