Title: undoproject's Replies | WordPress.org

---

# undoproject

  [  ](https://wordpress.org/support/users/undoproject/)

 *   [Profile](https://wordpress.org/support/users/undoproject/)
 *   [Topics Started](https://wordpress.org/support/users/undoproject/topics/)
 *   [Replies Created](https://wordpress.org/support/users/undoproject/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/undoproject/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/undoproject/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/undoproject/engagements/)
 *   [Favorites](https://wordpress.org/support/users/undoproject/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Events_list format parameter](https://wordpress.org/support/topic/events_list-format-parameter/)
 *  Thread Starter [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/events_list-format-parameter/#post-11154451)
 * Thanks for both of you.
 * This is my use case:
    Every event has tags, which show is performed, ticketed
   or not, sold out or not… On some pages, there’s no need to display the show tag.
   For example: [https://bandart.hu/en/#showsOnTour](https://bandart.hu/en/#showsOnTour)
   see the three lists below the “Next date” sections.
 * There’s a page where I have to display the title of the show for the corresponding
   event:
    [https://bandart.hu/hu/fellepeseink/](https://bandart.hu/hu/fellepeseink/)
 * The first example works just fine. If you check the second example (the one in
   Hungarian) and resize the browser as much as you can (phone resolution) you’ll
   see that the last column is off the visible area. That is how I realized that
   no matter how I tried to put the table header and footer to the shortcode the
   table definition is fallen apart.
    -  This reply was modified 7 years, 3 months ago by [undoproject](https://wordpress.org/support/users/undoproject/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Events_list format parameter](https://wordpress.org/support/topic/events_list-format-parameter/)
 *  Thread Starter [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/events_list-format-parameter/#post-11153418)
 * Hi [@duisterdenhaag](https://wordpress.org/support/users/duisterdenhaag/),
 * thanks for the reply. Let me explain why I need external files.
    I need to display
   the event info in tables. It looks better, handling is easier. I have to display
   content based on different conditions. I have different use cases, every page
   has it’s own different event lists. So, it’be very inconvenient passing a really
   long format as a parameter in the shortcode. I did it though and lost the format
   header and footer. A table needs header / footer so I put these as a raw HTML
   code to the page. But it doesn’t work that way either because it’s losing the
   proper class definition and at the end, it is misformatted. So I think external
   formatting files would be the best for me, but if you can tell me how to solve
   this table misformatting thing I’d be grateful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Event Manager – Conditional Custom Attribute](https://wordpress.org/support/topic/event-manager-conditional-custom-attribute/)
 *  [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/event-manager-conditional-custom-attribute/#post-11136531)
 * Try without the single quotation marks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom event lists, formats](https://wordpress.org/support/topic/custom-event-lists-formats/)
 *  Thread Starter [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-event-lists-formats/#post-11131023)
 * [@pferdetermine](https://wordpress.org/support/users/pferdetermine/), as I mentioned
   the shortcode looks a complete mess without proper text formatting, and it is
   also long as hell, so I wouldn’t bother posting it here.
 * I needed a list in a table that’s why there’s a Raw HTML block right before the
   shortcode: <table><tbody>
 * shortcode in a normal Text Block:
    [events_list]<tr><td class=tdDate><b>#_EVENTDATES
   </b>{has_time}#_24HSTARTTIME{/has_time}</td> … {has_tag_ID1}<td class=ID1>_…placing
   the icon…_</td>{/has_tag_ID1}…</tr>[/events_list]
 * Worth to mention: in the Text Block you can’t use quotation marks for CSS, Tag
   or other ids.
 * There’s a Raw HTML block right after the shortcode:
    </tbody></table>
 * Hope that helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom event lists, formats](https://wordpress.org/support/topic/custom-event-lists-formats/)
 *  Thread Starter [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-event-lists-formats/#post-11130484)
 * Ok, I made it, actually it was far easier then I thought.
    No need to code, change
   php or passing any parameter. You can customize the list between the shortcodes.
   The only drawback is if you have a complex **table format** (as I do) with plenty
   of **conditional parts**, then you have to deal with the thing without using 
   any white space or line breaks in the editor. For this scenario, it’d be useful
   to pass a format php / html in the shortcode. I tried it without any luck I’d
   love to know why I failed. So if someone has a working example share it with 
   me pls!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom event lists, formats](https://wordpress.org/support/topic/custom-event-lists-formats/)
 *  Thread Starter [undoproject](https://wordpress.org/support/users/undoproject/)
 * (@undoproject)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-event-lists-formats/#post-11127786)
 * Thanks for the reply [@timrv](https://wordpress.org/support/users/timrv/) !
    
   As I wrote filtering is not a problem.
 * The problem is the conditional formatting. It’d be nice to use only the shortcode
   to pass e.g. a boolean value and use it as a conditional placeholder. If it is
   false (or 0) then I don’t display icons at the end of the table row. If it is
   true then I put one.
 * On my site, all the events can have multiple tags that’s why I can’t use the 
   URL.
 * I was thinking to use the “format” attribute in which I’d link a php or html 
   file. Therefore I’d use two kinds of and link the corresponding one on the suitable
   page.
    Can be done with the “format” attribute? Is so is there an example?
 * I’ve already created a php file and put it into the _my\_template/plugins/events-
   manager/templates/formats/_ folder but nothing happened.

Viewing 6 replies - 1 through 6 (of 6 total)