# Help with understanding docs for module\_block

**URL:** <https://community.hubspot.com/t/help-with-understanding-docs-for-module-block/70034>\
**Category:** CMS Development\
**Created:** [November 26, 2022, 5:50pm UTC](https://community.hubspot.com/t/help-with-understanding-docs-for-module-block/70034 "2022-11-26T17:50:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 29, 2022, 9:18pm UTC](https://community.hubspot.com/t/help-with-understanding-docs-for-module-block/70034/2 "2022-11-29T21:18:00Z")

</div>

- module\_block is not a seperate thing from modules. It’s a type of syntax for _accessing_ modules and updating the values of the fields. Most of the time you would only be using this if you’re needing to add large amounts of HTML to rich text fields as doing so in a {% module %} value can easily cause errors. The majority of the time you would just use the {% module %} syntax.
- The example provided is for accessing a [_custom module_](https://developers.hubspot.com/docs/cms/building-blocks/modules/files) where the path is the relative path to a module you have built. If accessing a default Hubspot module you would change the path to that of the default HubSpot module.
- _rich\_text\_field\_variable_ is the name of the field you’re updating

 ![richtext-vale.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/6/867e0f7f91a01a1a4e03c43d53d3fcbcf280bb6e.png)

- type\_of\_module is the ‘module’ you see directly after ‘module\_block’ in the example. In widget\_block this was usually something like rich\_text or raw\_html as, before going modular, HubSpot had particular types tied to their modules. So, basically, now you would never change that from ‘module’. It might have been left in V2 just for the purpose of not breaking old usage of widget\_block??

---

_[View the full topic](https://community.hubspot.com/t/help-with-understanding-docs-for-module-block/70034)._
