CMS Development

lisem
メンバー

How to preview a Global Groups with a given spreadsheet ?

解決

Hello,

 

I have designing a Global Groups ( Footer ) and would like to preview it with the spreadsheet that will be used on a template page ( in this case the Email subscriptions pages ) .  How can I do that?

It looks as if  the only way to see a Global module with a CSS file is to display the page in which it is included. 

 

Any tips would be appreciated ( note that I am relatively new to Hubspot). 

 

Thanks -- Lise

0 いいね!
1件の承認済みベストアンサー
Anton
解決策
名誉エキスパート | Diamond Partner
名誉エキスパート | Diamond Partner

How to preview a Global Groups with a given spreadsheet ?

解決

Hi @lisem

you're right. 

The only way to see global elements in "live" environment is via somekind of template. 

 

You can a) clone the QA template if you're working with the boilerplate, b) create your own QA Template with all elements you want to check or c) clone the QA template from the "Growth" theme (or some other default provided themes by HubSpot)

 

If you're creating your own template, it could look something like this:

<!--
templateType: page
isAvailableForNewContent: true
label: Quality testing template
-->
{% extends '../../templates/layout/layout.html' %}

{% block body %}
{% endblock body %}

{% block footer %}
{% global_partial path="../templates/globals/footer.html" name="Footer", no_wrapper=True %}
{% endblock footer %}

 

 

hope this helps, 

 

best,

Anton

Anton Bujanowski Signature

元の投稿で解決策を見る

2件の返信
Anton
解決策
名誉エキスパート | Diamond Partner
名誉エキスパート | Diamond Partner

How to preview a Global Groups with a given spreadsheet ?

解決

Hi @lisem

you're right. 

The only way to see global elements in "live" environment is via somekind of template. 

 

You can a) clone the QA template if you're working with the boilerplate, b) create your own QA Template with all elements you want to check or c) clone the QA template from the "Growth" theme (or some other default provided themes by HubSpot)

 

If you're creating your own template, it could look something like this:

<!--
templateType: page
isAvailableForNewContent: true
label: Quality testing template
-->
{% extends '../../templates/layout/layout.html' %}

{% block body %}
{% endblock body %}

{% block footer %}
{% global_partial path="../templates/globals/footer.html" name="Footer", no_wrapper=True %}
{% endblock footer %}

 

 

hope this helps, 

 

best,

Anton

Anton Bujanowski Signature
lisem
メンバー

How to preview a Global Groups with a given spreadsheet ?

解決

Hi Anton. Thank you very much for your detailed and helpful answer. I appreciate it! 

 

Regards,

Lise

0 いいね!