Support » Plugin: Events Manager » [Plugin: Events Manager] Provide semantic, css-stylable markup

  • Mark


    I’m trying to customize some aspects of Events Manager and running into limitations of the html markup used.

    For instance the Date/Time column on an events page contains just TDs with undifferentiated date and time information:

    <td><br />
    05/10/2012 - 09/10/2012<br />
    00:00 -00:00<br />

    This makes it impossible to adjust the style of either the date or the time independently; it also makes it impossible to hide either using CSS.

    Proposal: use sth like the following:

    <span class="em_date">
      <span class="em_startdate">05/10/2012</span> - <span class="em_enddate">09/10/2012</span>
    <span class="em_time">00:00 -00:00</span>

    This is an example for date and time with an event that spans multiple dates, but event name and location have the same problem. E.g. currently location is simply hardcoded in <i>
    tags without any semantic indication of what it is, placing it out of reach for users who want to customize how events are displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    you can use EM settings > Formats/Layouts to change some formatting or customized the EM templates




    Aha, great! Might I suggest though that the default markup be more semantic?

    Anyway, this has me run into a next problem: the field doesn’t appear to accept characters like en-dash or em-dash (–, —).

    For instance, the date part of the format/layout is currently like this:
    #_{d/m/Y} #@_{- d/m/Y}

    If I try to change the dash separator there to an en-dash, the template is not parsed correctly and the second date is not outputted. At first I thought that I might need to set this in the “date separator” field, but it looks like whatever I set there is not filtering through to the date format in event listings.

    Plugin Author Marcus


    NetWebLogic Support

    will improve the matching on that in next update

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Provide semantic, css-stylable markup’ is closed to new replies.