Ergebnis 1 bis 7 von 7

Thema: (Solved) Season, event, meeting and dates

  1. #1
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Frage (Solved) Season, event, meeting and dates

    Hi everyone,

    The site I'm building with MM needs this architecture :
    - one season (mm_seasons)
    - many events (mm_events)
    - each event can one or many meetings (mm_meetings)
    - and, at least, each meeting car be programmed at one or many dates (mm_dates)

    Here are my questions :

    1. In the backend, when creating/editing a meeting, is it possible to insert the different dates from within the meeting form ?

    2. In the FE, I'll have on one page the list of all events. When clicking on one, I'll go to detail page. How can I display in this page this event's meetings list and for each meeting, all its dates.

    Thanks for your help
    Geändert von Charled (17.07.2015 um 09:43 Uhr)

  2. #2
    Maintainer Avatar von xtra
    Registriert seit
    02.07.2009.
    Ort
    Tuebingen
    Beiträge
    2.007
    User beschenken
    Wunschliste

    Standard

    To 1. Not natively, however, you can write an extension which will show a custom widget and save accordingly. This requires advanced PHP skills. Natively we only support adding them as child table within their own edit mask.

    To 2. By defining a second list module (for the meetings) and a filter to filter out only the meetings of the current event and altering the template to fetch all dates having these meetings as pid. There should be some examples in the wiki somewhere.
    Bedenke stets: Wenn Du ungenaue oder unzureichende Angaben machst, so koennte dies die Bearbeitung deiner Frage endlos verzoegern (oder sogar dazu fyhren, dass ich zu viel nachdenken muss und die Antwort vergesse!). Kein Support per PN.

  3. #3
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Standard

    Zitat Zitat von xtra Beitrag anzeigen
    To 1. Not natively, however, you can write an extension which will show a custom widget and save accordingly. This requires advanced PHP skills. Natively we only support adding them as child table within their own edit mask.
    Ok. I haven't advanced PHP skills so I won't even try it ;-))
    Hope this could be a native function soon…

    To 2. By defining a second list module (for the meetings) and a filter to filter out only the meetings of the current event and altering the template to fetch all dates having these meetings as pid. There should be some examples in the wiki somewhere.
    Ok.
    Do you think MM could add sometimes the ability to simply add linked (and underlinked) attributes in render settings and perhaps Input screens ?

    Thanks.
    Geändert von Charled (16.07.2015 um 10:31 Uhr)

  4. #4
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Standard

    Zitat Zitat von xtra Beitrag anzeigen
    and a filter to filter out only the meetings of the current event
    That is the problem : how do I filter out the meeting of the curent event ?

  5. #5
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Standard

    Found for filtering the meeting list. Now, I have to modify the template…

  6. #6
    Contao-Urgestein Avatar von KlausGrenoble
    Registriert seit
    27.01.2013.
    Ort
    Grenoble
    Beiträge
    2.362

    Standard

    Bonne chance

  7. #7
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Standard

    Merci.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •