CMS Development

JamesW42
参加者 | Elite Partner
参加者 | Elite Partner

Where to find detailed dnd_module usage information

解決

I often struggle to find examples of what options are available, or what structure to use for options when using a default Hubspot module as a dnd_module.

For example, the call-to-action.

I have attached screenshots of the options I have tried. Regardless of whether I have done it incorrectly or not here - I feel I shouldn't need to dig through your modules or blind test options.

It turns into a huge time waster and I feel the documentation should be readily available in Hubl References

2022-10-25_11-27.png2022-10-25_11-26.png2022-10-25_11-25.png

1件の承認済みベストアンサー
alyssamwilie
解決策
名誉エキスパート | Elite Partner
名誉エキスパート | Elite Partner

Where to find detailed dnd_module usage information

解決

@JamesW42 When changing content of a dnd_module, if it only has a single default option, it just uses the field name of the field you want to change. In your first screen shot where you've highlighted you'll see the field name is "guid". You can view the Module and Theme Fields developer documentation to see the available options for all module fields. For more information on using modules in templates, editing content such as repeater fields and styles, and editing dnd_module options you can view the Using Modules in Templates documentation.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

元の投稿で解決策を見る

0 いいね!
3件の返信
alyssamwilie
解決策
名誉エキスパート | Elite Partner
名誉エキスパート | Elite Partner

Where to find detailed dnd_module usage information

解決

@JamesW42 When changing content of a dnd_module, if it only has a single default option, it just uses the field name of the field you want to change. In your first screen shot where you've highlighted you'll see the field name is "guid". You can view the Module and Theme Fields developer documentation to see the available options for all module fields. For more information on using modules in templates, editing content such as repeater fields and styles, and editing dnd_module options you can view the Using Modules in Templates documentation.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
0 いいね!
JamesW42
参加者 | Elite Partner
参加者 | Elite Partner

Where to find detailed dnd_module usage information

解決

Worth noting that Option 2 was correct, I simply had a missing digit in the GUID.

However, I think my point still stands that we need better documentation around this with examples and an API reference for each module. If that documentation were available then I would realise quickly that I'd done everything else correctly.

0 いいね!
JamesW42
参加者 | Elite Partner
参加者 | Elite Partner

Where to find detailed dnd_module usage information

解決

A better example would be the Image module. It took me a while to find out that it is actually called "linked_image" in the HubSpot folder. Furthermore, trying to gleam information about options like like `max_height` or `size_type`... I essentially found out those options were even available when I saw other unrelated questions through Google searches. Even the existing Hubl Reference documentation (which doesn't cover dnd_module usage) didn't list those options.

0 いいね!