New Custom Blog Template is Causing Module to Revert to No Content
Hi there,
I'm building a new custom blog post template via Hubl.
Everything seems to be going well except for an issue with a specific module. When I apply the new template to the blog post, this module behaves as if no content was added to it.
The blog keeps the images and copy that was there with the prior template change but erases the content that was in this module. The module is also custom.
If I switch back to the old template, the module shows that it has the content within it again.
New Custom Blog Template is Causing Module to Revert to No Content
When I convert the old template to HTML, it shows (% module_block %) and (% module_attribute %} tags whereas in the new template I copied the code snippet and pasted it into that template. Would those tags affect this at all?
Switching templates and keeping the content is a tricky thing. But if the module is on the same position as the old template and has the same field names, it could work. Sadly, this is never certain. Not sure there is a trick available to keep the content.
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.