Custom Module Template Usage Snippet

SOLVE
Regular Advisor

Hey all!

 

I created a custom module I'm trying to use in the blog listing code and I should be able to copy the snippet and add it there: 

 

template-snippet.png

 

But when I do so literally nothing appears: 

 

search-tet.png

 

search-test2.png

 

Is this not supported in the new Design Manager?

 

Thanks!

 


Stephanie O'Gay GarciaHubSpot Design / Development

Website | Contact

 

1 Accepted solution

Accepted Solutions
Occasional Contributor

I was having this issue and the solution was to add 

parmeterBoolean=True

to my custom snippet, so the snippet went from 

{% module "module_15426575971951522" module_id="4323014" label="Floating Social" %}

to 

{% module "module_15426575971951522" module_id="4323014" parmeterBoolean=True label="Floating Social" %}

 

Reply
0 Upvotes
4 Replies 4
Highlighted
Advisor

Hi @Stephanie-OG

 

I've never had this kind of issue.

Did you wrote the module by yourself or just "modified an existing one"? 

I've never seen the 

{# COMMENT 

in a HTML file. Maybe this is the issue because the "set" from the comment in line 12 is recognized as a Hubl tag.

 

Have you tried to

- delete all the comments

- replace 

{# COMMENT #}

with

<!-- COMMENT -->

?

 

 

regards,

Anotn








check Did my post help answer your query? Help the Community by marking it as a solution
Occasional Contributor

I was having this issue and the solution was to add 

parmeterBoolean=True

to my custom snippet, so the snippet went from 

{% module "module_15426575971951522" module_id="4323014" label="Floating Social" %}

to 

{% module "module_15426575971951522" module_id="4323014" parmeterBoolean=True label="Floating Social" %}

 

Reply
0 Upvotes
Regular Advisor | Platinum Partner

@Stephanie-OG, if @shawnwinston's answer didnt help, silly question, but did you check blog when asked "where would you like to use this module?"

dennis
Reply
0 Upvotes
Regular Advisor

Thank you both for your replies! 

 

I'm no longer working on that project (I ended up just adding the HTML directly instead of adding the custom module), but I have a copy of the blog template and it still won't work both ensuring "Blog" is checked on the custom module and using parameterBoolean=True Smiley Sad

 

However,just using the embed code

 

{% module "module_154272758388739" module_id="4331657" label="Embed Module Test" %}

did work on another blog template but not that one so I'm wondering if there's something buggy about that particular template?

 

 


Stephanie O'Gay GarciaHubSpot Design / Development

Website | Contact

 

If this helped, please mark it as the solution to your question, thanks!

Reply
0 Upvotes