![]() |
ChatGPT 8/6/2025 |
Yes, you can dynamically change the calendar event colors in PHPRunner based on certain criteria such as event type, status, or any other attributes you have in your database. Here's how you can do it:
By following these steps, you should be able to dynamically change the event colors in your PHPRunner application. If you have specific conditions or fields you want to use for determining the colors, you can modify the switch statement accordingly. |
C
|
Chris Whitehead author 8/6/2025 |
Sorry Mr Chat, that din't twerk, I'm open to other ideas if you have any, if not what about anyone else? Dropped this into the calendar before display event, while it works, it's not ideal. ?> |
![]() |
Sergey Kornilov admin 8/7/2025 |
Could you explain the complete scenario? Colors are based on Category field values, changing category field will change the color as well. Just trying to understand how your scenario is different and what kind of API we can add to make this kind of change easier. |