Hello,
I am using the following code:
My issue here is that "conferencier_dropdown" field is a Relation editable in the "contrats.php" page. And in the "contrats.php" page, that "conferencier_dropdown" relation field is related to a "conferenciers.php" page. That's where it gets the data from.
When I visit the page, the "conferencier_dropdown" spot is empty. Nothing appears there, for some reason.
Am I missing something about relation fields?
Here's the code for the "conferencier_dropdown" editable in the "contrats.php":
All the other fields are working, except that one.
Thanks a lot
I am using the following code:
- Code: Select all
<cms:pages masterpage="contrats.php" custom_field="contact_dropdown=<cms:show k_page_name/>">
<tr>
<td class="col-checkbox">
</td>
<td class="col-my_uid"><cms:show my_uid /></td>
<td class="col-title"><a href="#" title="asddas"><cms:show conferencier_dropdown/></a></td>
<td class="col-date"><cms:show k_page_date/></td>
<td class="col-actions">
<a class="icon tt" href="#" title="Modifier"><svg class="i"><use xlink:href="<cms:show k_site_link />edit/theme/_system/assets/open-iconic.svg#pencil"></use></svg></a>
<a class="icon tt" href="#" target="_blank" title="Voir"><svg class="i"><use xlink:href="<cms:show k_site_link />edit/theme/_system/assets/open-iconic.svg#magnifying-glass"></use></svg></a>
<a class="btn btn-actions" role="button" tabindex="0"><svg class="i"><use xlink:href="<cms:show k_site_link />edit/theme/_system/assets/open-iconic.svg#ellipses"></use></svg></a>
</td>
</tr>
</cms:pages>
My issue here is that "conferencier_dropdown" field is a Relation editable in the "contrats.php" page. And in the "contrats.php" page, that "conferencier_dropdown" relation field is related to a "conferenciers.php" page. That's where it gets the data from.
When I visit the page, the "conferencier_dropdown" spot is empty. Nothing appears there, for some reason.
Am I missing something about relation fields?
Here's the code for the "conferencier_dropdown" editable in the "contrats.php":
- Code: Select all
<cms:editable type='relation' name='conferencier_dropdown' group="conferencier" label="Dropdown Relation" masterpage='conferenciers.php' has='one' order="1"/>
All the other fields are working, except that one.
Thanks a lot