DataSrc:DemoJan25/StrapiEvents: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
     
    (21 intermediate revisions by the same user not shown)
    Line 6: Line 6:
       |format  = json
       |format  = json
       |data    =  
       |data    =  
         EventID = data.1.id,
         EventID       = id,
         CreatedAt = data.1.attributes.createdAt,
         CreatedAt     = createdAt,
         UpdatedAt = data.1.attributes.updatedAt,
         UpdatedAt     = updatedAt,
         PublishedAt = data.1.attributes.publishedAt,
         PublishedAt   = publishedAt,
         EventType = data.1.attributes.events.1.Type,
         EventType     = Type,
         Participants = data.1.attributes.events.1.Participants,
         Participants = Participants,
         Certificate = data.1.attributes.events.1.Certificate,
         Certificate   = Certificate,
         Category = data.1.attributes.events.1.Category,
         Category     = Category,
         EventDate = data.1.attributes.events.1.Date,
         EventDate     = Date,
         Publication = data.1.attributes.SupplementaryInfo.1.Publication,
         Publication   = Publication,
         Seminars = data.1.attributes.SupplementaryInfo.1.Seminars,
         Seminars     = Seminars,
         Workshops = data.1.attributes.SupplementaryInfo.1.Workshops
         Workshops     = Workshops
       |debug  = 1
       |debug  = 1
    }}
    }}
    Line 39: Line 39:
       * **Workshops:** {{#external_value:Workshops}}
       * **Workshops:** {{#external_value:Workshops}}
    |  
    |  
      <!-- Error or no data -->
       * **Error:** Unable to retrieve event data. Check the debug output below.
       * **Error:** Unable to retrieve event data. Check the debug output below.
    }}
    }}


    <!-- 3) Debug Output -->
    == Debug Output ==
    == Debug Output ==
    {{#external_data_debug}}
    {{#external_data_debug}}

    Latest revision as of 11:29, 28 January 2025

    Strapi Events Display

    Event Details

     * **Event ID:** Error: no local variable "EventID" has been set.
     * **Created At:** Error: no local variable "CreatedAt" has been set.
     * **Updated At:** Error: no local variable "UpdatedAt" has been set.
     * **Published At:** Error: no local variable "PublishedAt" has been set.
    
     * **Type:** Error: no local variable "EventType" has been set.
     * **Participants:** Error: no local variable "Participants" has been set.
     * **Certificate:** Error: no local variable "Certificate" has been set.
     * **Category:** Error: no local variable "Category" has been set.
     * **Date:** Error: no local variable "EventDate" has been set.
    
     * **Publication:** Error: no local variable "Publication" has been set.
     * **Seminars:** Error: no local variable "Seminars" has been set.
     * **Workshops:** Error: no local variable "Workshops" has been set.
    

    Debug Output

    {{#external_data_debug}}