I am working with blogs in the Hubspot CMS for the first time.
In the website part of the CMS, I have developed several custom modules using HUBL+HTML. All is good so far.
I see that I can customize a blog post template using custom modules that I’ve developed. This is great.
My question: IS IT POSSIBLE TO ADD CUSTOM MODULES WHEN EDITING A BLOG POST? I don’t want to customize the blog post TEMPLATE because each of my blog posts may use different custom modules and in different orders.
I contacted Hubspot support and they said it isn’t possible. The blog post editing page doesn’t have the “Add” tab like the webpage editing page.
Has anyone worked around this? Has anyone created their own blog system using HUBL DB and webpages?
So like support had told you with the current blog its not possible to inject modules into the content itself, like wordpress does.
There are a few potential options:
The closest you’ll get with minimal work will be when authoring the blog you could edit > advanced > source code. And paste in custom html. (not exactly manable at scale)
You could build a custom blog template that contains any number of layouts in it. Then based on the blog topic/tags you could change they layout dynamically.
Hub DB wont allow you to author the child pages’s content separately, though it could work similarly to suggestion 2 above. You would query the page level and a column value rather than a topic/tag.