Resident Advisor Service Test

Venue: Pracht

Adresse: Niddastr. 54, 60327 Frankfurt am Main, Germany

Area: Frankfurt

Events:

ClubNACHT with Monsieur Vide b2b Alicia Lochner

Datum: 11.12.2025

Zeit: 22:00

Artists: Monsieur Vide, Alicia Lochner

Interested: 0 | Attending: 0

Event auf RA ansehen

Pracht PRES. with Andhim, Claudius b2b Sami Hugo, Calypsis

Datum: 12.12.2025

Zeit: 22:00

Artists: Andhim, Claudius (DE), Sami Hugo, Calypsis

Interested: 13 | Attending: 13

Event auf RA ansehen

PrachtNACHT with MARC WERNER, AMacowicz, Philipp Alt

Datum: 13.12.2025

Zeit: 22:00

Artists: MARC WERNER

Interested: 0 | Attending: 0

Event auf RA ansehen

ClubNACHT with Daniele Casa & Shahab

Datum: 18.12.2025

Zeit: 22:00

Artists: Daniele Casa, Shahab

Interested: 0 | Attending: 0

Event auf RA ansehen

Pracht PRES. ADDICTED. with Steffen Deux, Juan Manuel, Momo

Datum: 19.12.2025

Zeit: 22:00

Artists: Steffen Deux

Interested: 0 | Attending: 0

Event auf RA ansehen


Code für October CMS:

1. Speichere die ResidentAdvisorService.php in: plugins/mobylon/pracht/services/

2. Speichere den Events.php Controller in: plugins/mobylon/pracht/controllers/

3. In deinem Twig Template kannst du so auf die Events zugreifen:

{% set events = controller.getPrachtEvents(10) %}
{% for event in events.events %}
    <div class="event">
        <h3>{{ event.title }}</h3>
        <p>{{ event.dateFormatted }} um {{ event.timeFormatted }}</p>
        <p>Artists: {{ event.artistsString }}</p>
        {% if event.flyerImage %}
            <img src="{{ event.flyerImage }}" alt="{{ event.title }}">
        {% endif %}
        <a href="{{ event.eventUrl }}">Mehr Details</a>
    </div>
{% endfor %}