Support » Plugin: Events Manager » coloring available spaces left

  • Resolved jkjkjk

    (@jkjkjk)


    Hi, is it possible to show something like a traffic light for available spaces in event list?

    i am thinking about something like {has_spaces} or #_AVAILABLESPACES but with a number attached. so if only 50 spaces are left make the title yellow and if 10 spaces are left make it red…

    i hope you get what i want to say ๐Ÿ˜‰

Viewing 1 replies (of 1 total)
  • Thread Starter jkjkjk

    (@jkjkjk)

    found a little workaround ๐Ÿ™‚

    one can use #_AVAILABLESPACES as css class selector!
    so the following
    <span class="event_color_#_AVAILABLESPACES">Event Title</span>

    gives you for example
    <span class="event_color_80">Event Title</span>

    so one can style it different with every space that gets booked ๐Ÿ˜€

    • This reply was modified 2 years ago by jkjkjk.
    • This reply was modified 2 years ago by jkjkjk.
Viewing 1 replies (of 1 total)
  • The topic ‘coloring available spaces left’ is closed to new replies.