CMS Development

Stephanie-OG
Asesor destacado

Custom Module Template Usage Snippet

resolver

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 Soluciones aceptada
shawnwinston
Solución
Participante | Partner
Participante | Partner

Custom Module Template Usage Snippet

resolver

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" %}

 

Ver la solución en mensaje original publicado

0 Me gusta
4 Respuestas 4
dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Custom Module Template Usage Snippet

resolver

@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?"

0 Me gusta
Stephanie-OG
Asesor destacado

Custom Module Template Usage Snippet

resolver

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 Emoticono triste

 

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!

0 Me gusta
shawnwinston
Solución
Participante | Partner
Participante | Partner

Custom Module Template Usage Snippet

resolver

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" %}

 

0 Me gusta
Anton
Experto reconocido | Partner nivel Diamond
Experto reconocido | Partner nivel Diamond

Custom Module Template Usage Snippet

resolver

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

Anton Bujanowski Signature