Events Made Easy Forums How do I … How to display two different formats for lists

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42750
    Anonymous
    Inactive

    Hello,

    First, thanks for this plugin ! I’ve struggle with dates management with various plugins, and Events Made Easy is by far above the crowd.

    I need to have the events list displayed differently according to where it is displayed in the site. I can’t figure out how to do that, as both lists are displayed according to what is set up in the setup page.

    For example I have a band page (custom post type), where I display a lits of gigs using dates and #_EVENTNAME and #_LOCATIONNAME for that band. I’ve done that.

    Somewhere else I have a list of all upcoming gigs for all bands, where I would like to use dates, #_LINKEDNAME (to forward to the band page), #_LOCATIONPAGEURL, etc.

    How can I do that ? Where can I set up this second list format ?

    Thanks for your help

    Philippe

    #47610
    Franky
    Keymaster

    Use the shortcode [events_list] on a page, with the format option. See http://www.e-dynamics.be/wordpress/?cat=18 (and search this forum)

    #47611
    Anonymous
    Inactive

    That’s what I used, but I missed the “format” key, sorry !

    I’m not sure how to specify the values that way, and I can’t find an example. Is it something like this ?

    [events_list limit=20 format=

  • #l #j #F - #@l #@j #@F
    <h4>#_LINKEDNAME</h4>Playing at #_LOCATIONNAME
  • ]

    and with php

    <?php eme_get_events_list("limit=20&format=

  • #l #j #F - #@l #@j #@F
    <h4>#_LINKEDNAME</h4>Playing at #_LOCATIONNAME
  • "); ?>

#47612
Anonymous
Inactive

Wrong markup, sorry !

#47613
Franky
Keymaster

yes, like that, but put the format value in single quotes and try it

#47614
Anonymous
Inactive

Perfect ! Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top