Hi,
I implemented a new feature, where I add a section template to a page and in another page, I show a list of all the pages that have that section template.
<table class="M-Table__contentWrapper">
<tbody class="M-Table__content">
<tr class="M-Table__row M-Table__headlineRow">
<th class="M-Table__cell M-Table__cell--head">
$CMS_VALUE(st_headline)$ Showcases
</th>
<th class="M-Table__cell M-Table__cell--head">
Usage and description
</th>
</tr>
$CMS_FOR(for_page_folder, st_folder.get.getChildren(class("de.espirit.firstspirit.access.store.sitestore.PageRefFolder")).toList())$
$CMS_SET(is_in_overview_page)$$CMS_RENDER(template:"ft_fs_util", ft_option:"section_template_used_in_page_body", ft_template_uid:"st_m_additional_data", ft_page:for_page_folder.startNode.page)$$CMS_END_SET$
$CMS_IF(is_in_overview_page.toString.trim.equals("true"))$
$CMS_FOR(for_element, for_page_folder.startNode.page.getBodyByName("main_overview").getChildren(class("de.espirit.firstspirit.access.store.pagestore.Section")).toList())$
$CMS_IF(for_element.template.uid.equals("st_m_additional_data"))$
<tr class="M-Table__row">
<td class="M-Table__cell">
<span class="M-Table__mobileHead">
$CMS_VALUE(st_headline)$ Showcases
</span>
<div class="A-Text-RichText">
<a href="$CMS_REF(for_page_folder.startNode, abs:2)$">
<span class="A-Link__linkText">
$CMS_VALUE(for_element.formData.get(#global.language, "st_name").get())$
</span>
</a>
</div>
</td>
<td class="M-Table__cell">
<span class="M-Table__mobileHead">
Usage and description
</span>
<div class="A-Text-RichText">
$CMS_VALUE(for_element.formData.get(#global.language, "st_description").get())$
</div>
</td>
</tr>
$CMS_END_IF$
$CMS_END_FOR$
$CMS_END_IF$
$CMS_END_FOR$
</tbody>
</table>
This worked fine on the dev system in preview and deployment. I made a feature transport of the changed templates and all the content and moved it to the q system. In the preview there, everything is fine. But when deploying on Q nothing is showing.
The q system does not work with releases, so everything is released and all templates are marked as translated. Can somebody help me find the error?
Best regards,
Nina