CMS Development

sixandflow
Participant | Elite Partner
Participant | Elite Partner

Using v2 custom module fields on blog listings

Hello, I can't figure out how to use the custom module values from a blog post on blog listing pages.

 

Previously I'd have printed them with something like the following:

 

{{ content.widgets.field_name.body.value }}

Have tried swapping out for the modules syntax instead to no avail. Is it possible to use v2 custom modules on the listing page?

0 Upvotes
2 Replies 2
absolutions
Contributor

Using v2 custom module fields on blog listings

Hi

This is Ab,

 

I must suggest not to use custom module if you need to print value in listing page also,

Best option is to use a text or rich text or whatever you are loking for using hubl snippets.

 

And if you still have proble you can discuss with me.

 

some issues-

if you worked using custom

 

some time if you need to cretae a new blog listing ot page you can not remove your cusstom template because custom modules will not help you what you switch the module.

 

for more help

reply me please.

 

Thanks!

Ab

 

0 Upvotes
sixandflow
Participant | Elite Partner
Participant | Elite Partner

Using v2 custom module fields on blog listings

Thanks Ab, I have ended up using Rich Text fields in the same way I'd previously used HubL modules... just seems like there should be a way to take advantage of the data stored in custom module fields!