CMS Development

Stephanie-OG
キーアドバイザー

Custom Module Template Usage Snippet

解決

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件の承認済みベストアンサー
shawnwinston
解決策
参加者 | Solutions Partner
参加者 | Solutions Partner

Custom Module Template Usage Snippet

解決

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 いいね!
4件の返信
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Custom Module Template Usage Snippet

解決

@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 いいね!
Stephanie-OG
キーアドバイザー

Custom Module Template Usage Snippet

解決

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 スマイリー 悲しい

 

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 いいね!
shawnwinston
解決策
参加者 | Solutions Partner
参加者 | Solutions Partner

Custom Module Template Usage Snippet

解決

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 いいね!
Anton
名誉エキスパート | Diamond Partner
名誉エキスパート | Diamond Partner

Custom Module Template Usage Snippet

解決

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