CMS Development

KiriChili
Member

Get Data (text, video, etc.) from a custom Module on a different Site to another custom Module

I want to get the intro_text field of a specific module on a specific page and render it in another custom module. But when i try it like this, i've seen it be done like this on multiple posts, it doesn't render anything. Intro_text is indeed the correct field in the module i want. 

 

 

{% set page = content_by_id(module.mitarbeiter_portrait_page) %}

{{ page.widgets.module_1678956565573108.body.intro_text }}

 

 

Whenever i only put: 

 

 

{{ page.widgets.module_1678956565573108 }}

 


I get the correct module as response but can only see boolean fields that are in that specific module in the body of the widget. No text fields, no Video fields.

What am i doing wrong or how can i access the data from that different module and render it elsewhere?

1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Get Data (text, video, etc.) from a custom Module on a different Site to another custom Module

Hey there! Can you share a link to the guide or guides you mentioned you are following? Sometimes extra details like that can help the community to better understand your issue and how to help.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot