# Teaser text not showing up

**URL:** <https://community.hubspot.com/t/teaser-text-not-showing-up/513>\
**Category:** CMS Development\
**Created:** [December 2, 2016, 5:36am UTC](https://community.hubspot.com/t/teaser-text-not-showing-up/513 "2016-12-02T05:36:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 2, 2016, 5:36am UTC](https://community.hubspot.com/t/teaser-text-not-showing-up/513/1 "2016-12-02T05:36:22Z")

</div>

I’m having a problem where new blog posts’ teaser text is not showing up in the appropriate place on our blog post pages.

Hubspot converted our site over about 6 months ago. When they did that, they created a teaser text module:

 ![2016-12-01_2330.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/8/c8351b923883e62ee393cadaa33df4d6069fe6cc.png)  
teaser text in editor

In our design editor for the blog post page, the template is supposed to show teaser text using content.widgets.teaser\_text.body.html:

 ![2016-12-01_2330b.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/2/026fdc812861fb312c973481db0b78765f4440cc.png)  
teaser text in template

For all previous posts, this is working. But for a new post, there is no teaser text showing up, even though I saved “foo bar” as the teaser text. If I show the developer info for this post, content.widgets shows a property with a large number in it - module\_14743118786401412\_teaser\_text - instead of just showing teaser\_text. Therefore, no match is found and the teaser text is empty:

 ![2016-12-01_2330c.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/0/b02d3042b2053ff6d829b2040f1de0682bdf0efe.png)  
teaser text in developer info

I see no other way to get at that teaser text. What am I doing wrong? Or is this a bug in Hubspot?

---

<div class="post-metadata">

**Author:** ![ndwilliams3](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@ndwilliams3](https://community.hubspot.com/u/ndwilliams3)\
**Post date:** [December 2, 2016, 4:13pm UTC](https://community.hubspot.com/t/teaser-text-not-showing-up/513/2 "2016-12-02T16:13:49Z")

</div>

From you screenshot, it looks like the teaser text is part of a custom module. When defining a module within a custom module using HUBL, a unique id is added to the module name. If your trying to use the export\_to\_template\_context it doesn’t work, because there is not a way to define the unique Id dynamically. You can read more about it here [Accounts Dashboard | HubSpot](http://designers.hubspot.com/docs/hubl/export-to-template-context#usage-within-custom-modules).

The teaser\_text module could be defined within you blog template directly without any issues.

---

<div class="post-metadata">

**Author:** ![Ty](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ty/32/5413_2.png) [@Ty](https://community.hubspot.com/u/Ty)\
**Post date:** [December 2, 2016, 4:23pm UTC](https://community.hubspot.com/t/teaser-text-not-showing-up/513/3 "2016-12-02T16:23:16Z")

</div>

Hi bmoschel,

I took a look into your templates and I think I might know what is wrong! I would fix it for you, but I didn’t want to overwrite anything in your code 🙂

So I noticed that your teaser text module is actually defined/created in a custom module, so you can’t simply access it using the usual:

`{{ content.widgets.widget_name.body.html }}`

because it _technically_ isn’t created in your blog content module. Which is why in the inspect element, you are receiving the error “ **IPEUI: Widget not found in DOM** ”. When you reference a custom widget, that is created in a custom module, it changes it’s _actual name_, and you need to also reference your module, so the template knows where it’s actually pulling from. So instead of the above, try to reference it as:

`FOR LISTING{{ content.widgets.module_14743118786401412_teaser_text.body.html }}FOR POST{{ widget_data.module_14743118786401412_teaser_text.html }}`

You can find some more information on this and the export\_to\_template\_context command [here in our HubL docs](http://designers.hubspot.com/docs/hubl/export-to-template-context). I hope this works out for you! Let me know if you still need some help and I can take a deeper look!

Best,

-- Ty
