CMS Development

Stephanie-OG
Conseiller clé

Custom Module Template Usage Snippet

Résolue

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 Solution acceptée
shawnwinston
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Custom Module Template Usage Snippet

Résolue

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

 

Voir la solution dans l'envoi d'origine

0 Votes
4 Réponses
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Custom Module Template Usage Snippet

Résolue

@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 Votes
Stephanie-OG
Conseiller clé

Custom Module Template Usage Snippet

Résolue

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 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 Votes
shawnwinston
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Custom Module Template Usage Snippet

Résolue

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 Votes
Anton
Expert reconnu | Partenaire solutions Diamond
Expert reconnu | Partenaire solutions Diamond

Custom Module Template Usage Snippet

Résolue

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