Retrieve data from HubDB (Foreign ID)

Hello,

I’m creating a module for an Event banner and I can’t retrive neither the speaker image I need nor the speaker name.

The speaker name comes from an external table:


and here is my code (the other fields are working just fine):

{% if row.banner_event %}
<div class="container-fluid bg-event-banner">
 <div class="container">
 <div class="row justify-content-start align-items-center py-5">
 <div class="col-12 col-sm-6 border-end border-warning">
 <p class="text-light-blue text-uppercase mb-0">
 {{ type }}
 </p>
 <h2 class="text-white pb-5">
 {{ event_name }}
 </h2>
 <p class="text-white">
 {{ row.description }}
 </p>
 </div>
 <div class="col-12 col-sm-3 pb-3 px-sm-5 pb-sm-0 d-flex align-items-end flex-column">
 <img class="img-fluid w-100 rounded-circle" src="{{ presenter_image }}" loading="lazy" alt="Presenter photo" />
 </div>
 <div class="col-12 col-sm-3">
 <p class="text-light-blue text-uppercase">
 Presented by:
 </p>
 <p class="text-light-blue">
 {% for item in row.first_presenter %} 
 {{ row.first_presenter.name }} 
 {% endfor %}
 {% if row.second_presenter %}
 | 
 {% for item in row.first_presenter %} 
 {{ row.second_presenter.name}} 
 {% endfor %}
 {% endif %}
 </p>
 </div>
 </div>
 <div class="row justify-content-center pb-5">
 <div class="col-12 col-sm-7 text-center">
 <p class="text-center mb-0">
 <button class="btn-vg6" data-bs-toggle="modal" data-bs-target="#ContactUs">
 Contact us
 </button>
 </p>
 </div>
 </div>
 </div>
</div>
{% endif %}

Would appreciate help very much :slightly_smiling_face:

Hi @FilipaPF

Thank you for reaching out.

I want to tag some of our experts here - @LMeert @coldrickjack do you have any thoughts for @FilipaPF on this?

Thank you!

Best

Tiphaine

Thank you @TitiCuisset, I’m already getting the speakers image but the name still does not show!