Display three upcoming events

Home Forums Calendar Products Events Calendar PRO Display three upcoming events

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12688
    Michael
    Member

    What code can I use to output the three next events names, date and time in my template (not using a widget, though) and make the name, date and time all linkable to the full event detail page? If possible, I’d like this to output each event in a separate LI.

    #12694
    Jonah
    Participant

    Hey Michael, something like this should get you going in the right direction: http://pastebin.com/0HiEHPmg

    #12705
    Michael
    Member

    Awesome! One question: Is it possible to add a period after the month abbreviation and change the “am”/”pm” to “a.m.”/”p.m.”?

    #12706
    Jonah
    Participant

    Its probably possible but complicated because you’d have to modify the native PHP date function to do so. You might try searching around to find a solution for that. Good luck!

    #974952
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Display three upcoming events’ is closed to new replies.