# Develop, Build & Integrate

**URL:** https://community.hubspot.com/c/develop-build-integrate/58.md?page=654

[Latest](https://community.hubspot.com/latest.md) · [Categories](https://community.hubspot.com/categories.md) · [Tags](https://community.hubspot.com/tags.md)

**Page:** 655

---

## [Display template content conditionally](https://community.hubspot.com/t/display-template-content-conditionally/9821)

<div class="topic-metadata">

**Author:** [@andre9000](https://community.hubspot.com/u/andre9000)\
**Replies:** 3\
**Last updated:** [August 14, 2018, 8:54am UTC](https://community.hubspot.com/t/display-template-content-conditionally/9821 "2018-08-14T08:54:53Z")

</div>

This is probably an easy one, but I can not figure it out how to hide an element if it has no value: \<h1\>{% text "h1" label='Enter H1', value='This is the H1' %}\</h1\> \<style\> {% if "h1" is none or "h1" == "" %} h1 {…

---

## [Webhook Workflow exceeding external server's rate limit](https://community.hubspot.com/t/webhook-workflow-exceeding-external-servers-rate-limit/11744)

<div class="topic-metadata">

**Author:** [@system](https://community.hubspot.com/u/system)\
**Replies:** 3\
**Last updated:** [August 13, 2018, 10:08pm UTC](https://community.hubspot.com/t/webhook-workflow-exceeding-external-servers-rate-limit/11744 "2018-08-13T22:08:12Z")

</div>

We have set up a workflow which triggers a web hook to an external api service. The external service is returning 429’s because the workflow is exceeding it’s rate limit. According to the web site: Workflows will not…

---

## [Best Practices - Where to add CSS and Javascript in HubSpot CMS?](https://community.hubspot.com/t/best-practices-where-to-add-css-and-javascript-in-hubspot-cms/9613)

<div class="topic-metadata">

**Author:** [@lukesummerfield](https://community.hubspot.com/u/lukesummerfield)\
**Replies:** 1\
**Last updated:** [August 13, 2018, 9:10pm UTC](https://community.hubspot.com/t/best-practices-where-to-add-css-and-javascript-in-hubspot-cms/9613 "2018-08-13T21:10:14Z")

</div>

\*HubSpot hosted a CMS Developer AMA on July 25th 2018. This question was submitted and the first reply is what the panelist and audience chat responded with. (view the full AMA here)\* ----------------------------------…

---

## [Category tags on blog listings page](https://community.hubspot.com/t/category-tags-on-blog-listings-page/9820)

<div class="topic-metadata">

**Author:** [@Mark\_Beaumont](https://community.hubspot.com/u/Mark_Beaumont)\
**Replies:** 2\
**Last updated:** [August 13, 2018, 1:09pm UTC](https://community.hubspot.com/t/category-tags-on-blog-listings-page/9820 "2018-08-13T13:09:29Z")

</div>

Hi there, Does anyone know if it is possible to display blog tags on the blog home page? Much like the attached where it shows ‘connected cars’, ‘wireless’ etc? Thanks, Mark

---

## [Form alignment issue](https://community.hubspot.com/t/form-alignment-issue/9789)

<div class="topic-metadata">

**Author:** [@prhewson](https://community.hubspot.com/u/prhewson)\
**Replies:** 4\
**Last updated:** [August 11, 2018, 2:05pm UTC](https://community.hubspot.com/t/form-alignment-issue/9789 "2018-08-11T14:05:56Z")

</div>

Hi I’m relatively new to this stuff, but I have tried to do my due dilligence and search for an answer, but I’m still stuck. I’m having trouble centering a form in a template. I’ve followed this guide and added this to …

---

## [Move draft website-pages to staging](https://community.hubspot.com/t/move-draft-website-pages-to-staging/9793)

<div class="topic-metadata">

**Author:** [@FloStu](https://community.hubspot.com/u/FloStu)\
**Replies:** 1\
**Last updated:** [August 11, 2018, 6:13am UTC](https://community.hubspot.com/t/move-draft-website-pages-to-staging/9793 "2018-08-11T06:13:45Z")

</div>

Hi, we are currently developing our new website in the staging environment. Our problem at the moment is that we have some draft website-pages, which are very complex but we need them for the new site. Currently, only …

---

## [jquery add class not firing on hubspot form.](https://community.hubspot.com/t/jquery-add-class-not-firing-on-hubspot-form/9798)

<div class="topic-metadata">

**Author:** [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Replies:** 2\
**Last updated:** [August 10, 2018, 8:05pm UTC](https://community.hubspot.com/t/jquery-add-class-not-firing-on-hubspot-form/9798 "2018-08-10T20:05:00Z")

</div>

Hi, I am trying to add a class to a label when a checkbox is checked. I have built it locally and it works fine, but when i added the code to hubspot, it doesn’t seem to fire. As a test, I used jquery to add a test clas…

---

## [How to format unixtimestamp to human readable date?](https://community.hubspot.com/t/how-to-format-unixtimestamp-to-human-readable-date/9799)

<div class="topic-metadata">

**Author:** [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Replies:** 2\
**Last updated:** [August 10, 2018, 6:46pm UTC](https://community.hubspot.com/t/how-to-format-unixtimestamp-to-human-readable-date/9799 "2018-08-10T18:46:32Z")

</div>

The goal is to calculate a future date and display that future date in human readable format. I get the unixtimestamp calculation part (i think), but that’s as far as I could get. Here’s the HubL code … (live on the bot…

---

## [Access Products API with OAuth 2.0 | requires any of \[crm-public-object-api-access\]](https://community.hubspot.com/t/access-products-api-with-oauth-2-0-requires-any-of-crm-public-object-api-access/11846)

<div class="topic-metadata">

**Author:** [@system](https://community.hubspot.com/u/system)\
**Replies:** 3\
**Last updated:** [August 10, 2018, 7:25am UTC](https://community.hubspot.com/t/access-products-api-with-oauth-2-0-requires-any-of-crm-public-object-api-access/11846 "2018-08-10T07:25:21Z")

</div>

Hi all, I’m currently trying to retrieve and create products via Products API using OAuth 2.0 authentication, but I got an error : “This oauth-token (x x x) does not have proper permissions! (requires any of \[crm-publi…

---

## [Manually setting the email on a link to a web page](https://community.hubspot.com/t/manually-setting-the-email-on-a-link-to-a-web-page/8454)

<div class="topic-metadata">

**Author:** [@smondeau](https://community.hubspot.com/u/smondeau)\
**Replies:** 4\
**Last updated:** [August 9, 2018, 10:39pm UTC](https://community.hubspot.com/t/manually-setting-the-email-on-a-link-to-a-web-page/8454 "2018-08-09T22:39:44Z")

</div>

I am banging my head against the wall on this one. I have a situation where I am sending out an email that contains a link to a landing page and I need to make sure that landing page knows who that person is everytime. T…

---

## [Creating Cookies for Phone number tracking - or another solution?](https://community.hubspot.com/t/creating-cookies-for-phone-number-tracking-or-another-solution/9703)

<div class="topic-metadata">

**Author:** [@bjones](https://community.hubspot.com/u/bjones)\
**Replies:** 8\
**Last updated:** [August 9, 2018, 3:56pm UTC](https://community.hubspot.com/t/creating-cookies-for-phone-number-tracking-or-another-solution/9703 "2018-08-09T15:56:19Z")

</div>

Greetings, folks. This is my first post here, so thanks in advance for any responses. I also apologize if this post is a redundant question - I’m still learning HubSpot. I am helping out one of my clients (Actually form…

---

## [Aligning images on mobile](https://community.hubspot.com/t/aligning-images-on-mobile/9778)

<div class="topic-metadata">

**Author:** [@AT1](https://community.hubspot.com/u/AT1)\
**Replies:** 4\
**Last updated:** [August 9, 2018, 1:18pm UTC](https://community.hubspot.com/t/aligning-images-on-mobile/9778 "2018-08-09T13:18:56Z")

</div>

Hi there I have added some images on my website that are left aligned with text wrapping around them. If i add them as anything below 350px wide they aren’t 100% width on my iphone end up having a small amount of text w…

---

## [DIfferent layout for listing and post template in Blog content module](https://community.hubspot.com/t/different-layout-for-listing-and-post-template-in-blog-content-module/7930)

<div class="topic-metadata">

**Author:** [@esmartia](https://community.hubspot.com/u/esmartia)\
**Replies:** 3\
**Last updated:** [August 8, 2018, 10:45pm UTC](https://community.hubspot.com/t/different-layout-for-listing-and-post-template-in-blog-content-module/7930 "2018-08-08T22:45:12Z")

</div>

Hi there community! I have one column post listing layout in the Blog content template but I need two columns layout at the post template (post+sidebar) Since both are at the same Blog Content module, can’t find the wa…

---

## [Design the choose file button](https://community.hubspot.com/t/design-the-choose-file-button/9255)

<div class="topic-metadata">

**Author:** [@st\_ruangguru](https://community.hubspot.com/u/st_ruangguru)\
**Replies:** 2\
**Last updated:** [August 8, 2018, 5:33pm UTC](https://community.hubspot.com/t/design-the-choose-file-button/9255 "2018-08-08T17:33:24Z")

</div>

Do you guys know how to change from the default “choose file” into the modified “choose file”?

---

## [Need Hubl Help](https://community.hubspot.com/t/need-hubl-help/9753)

<div class="topic-metadata">

**Author:** [@Scubydew](https://community.hubspot.com/u/Scubydew)\
**Replies:** 6\
**Last updated:** [August 8, 2018, 2:21pm UTC](https://community.hubspot.com/t/need-hubl-help/9753 "2018-08-08T14:21:42Z")

</div>

Need to create hubl style code on image, to have a field that I can insert a url query string. I am able to populate the fields with a query string on the form to the actual fields on the landing page. Just doesnt work o…

---

## [Hubl: How to do a normal loop (print something n times)](https://community.hubspot.com/t/hubl-how-to-do-a-normal-loop-print-something-n-times/11482)

<div class="topic-metadata">

**Author:** [@andre9000](https://community.hubspot.com/u/andre9000)\
**Replies:** 1\
**Last updated:** [August 8, 2018, 2:00pm UTC](https://community.hubspot.com/t/hubl-how-to-do-a-normal-loop-print-something-n-times/11482 "2018-08-08T14:00:51Z")

</div>

Hi, I want to do loop for 12 times: {% set cols = 12 %} {% for i in cols %} // do something with i {% endfor %} However, this doesn’t work, since cols is not an object or array. I don’t want it to be, I want a plain …

---

## [Campaigns GET is returning an invalid offset](https://community.hubspot.com/t/campaigns-get-is-returning-an-invalid-offset/11815)

<div class="topic-metadata">

**Author:** [@system](https://community.hubspot.com/u/system)\
**Replies:** 4\
**Last updated:** [August 8, 2018, 1:23pm UTC](https://community.hubspot.com/t/campaigns-get-is-returning-an-invalid-offset/11815 "2018-08-08T13:23:44Z")

</div>

Hi all, I have an application that is iterating through campaigns over a certain time-frame. It uses the returned offset parameter to continue moving through the dataset. However, more recently using the offset has give…

---

## [Upload files via Form API](https://community.hubspot.com/t/upload-files-via-form-api/11458)

<div class="topic-metadata">

**Author:** [@nikolajovanovic](https://community.hubspot.com/u/nikolajovanovic)\
**Replies:** 1\
**Last updated:** [August 8, 2018, 1:13pm UTC](https://community.hubspot.com/t/upload-files-via-form-api/11458 "2018-08-08T13:13:49Z")

</div>

Hello, I was just testing file upload via the form. It worked, the file was successfully uploaded, my contact property for the file was updated, I got CDN link to that file and it was hidden in File Manager as stated in…

---

## [Slight design adjustments](https://community.hubspot.com/t/slight-design-adjustments/9744)

<div class="topic-metadata">

**Author:** [@CG\_Alex](https://community.hubspot.com/u/CG_Alex)\
**Replies:** 8\
**Last updated:** [August 8, 2018, 8:14am UTC](https://community.hubspot.com/t/slight-design-adjustments/9744 "2018-08-08T08:14:50Z")

</div>

Hi, I have a few small things that I would like to change in a module template i’m using. Currently the Modal images are rounded, how do I remove this and resize them? Also, how do I change the size of the clickable a…

---

## [Rolling dates on company or deal fields on lists](https://community.hubspot.com/t/rolling-dates-on-company-or-deal-fields-on-lists/11853)

<div class="topic-metadata">

**Author:** [@dannylarsen](https://community.hubspot.com/u/dannylarsen)\
**Replies:** 2\
**Last updated:** [August 7, 2018, 9:01pm UTC](https://community.hubspot.com/t/rolling-dates-on-company-or-deal-fields-on-lists/11853 "2018-08-07T21:01:40Z")

</div>

I read here: https://knowledge.hubspot.com/articles/kcs\_article/lists/can-i-segment-my-lists-based-on-rolling-date-ranges This: “You can also use the is more than and is less than options to segment by rolling dates on …

---

## [Excluding a blog topic from a Topics list](https://community.hubspot.com/t/excluding-a-blog-topic-from-a-topics-list/9742)

<div class="topic-metadata">

**Author:** [@Octo](https://community.hubspot.com/u/Octo)\
**Replies:** 5\
**Last updated:** [August 7, 2018, 1:53pm UTC](https://community.hubspot.com/t/excluding-a-blog-topic-from-a-topics-list/9742 "2018-08-07T13:53:05Z")

</div>

Hi! I’m creating a template for blog posts listing. One of the topics is for service use only (“Highlight”), I use it to show in particular listing. I need to show the first topic for each post but not “Highlight”. S…

---

## [Assign different classes to alternating blog posts?](https://community.hubspot.com/t/assign-different-classes-to-alternating-blog-posts/9687)

<div class="topic-metadata">

**Author:** [@MrCapp](https://community.hubspot.com/u/MrCapp)\
**Replies:** 11\
**Last updated:** [August 7, 2018, 1:42pm UTC](https://community.hubspot.com/t/assign-different-classes-to-alternating-blog-posts/9687 "2018-08-07T13:42:16Z")

</div>

Hello there. I’m trying to figure out how to apply two different css classes to my blog post entries as they are generated. In the code below, I have \<div class=“post-item”\> and I would like to append a class to each i…

---

## [Slider](https://community.hubspot.com/t/slider/9735)

<div class="topic-metadata">

**Author:** [@ErinK](https://community.hubspot.com/u/ErinK)\
**Replies:** 1\
**Last updated:** [August 6, 2018, 7:23pm UTC](https://community.hubspot.com/t/slider/9735 "2018-08-06T19:23:45Z")

</div>

I figured it out! I dont know how to delete my post. Sorry!

---

## [Couldn't find target container #hbspt-form-xxx](https://community.hubspot.com/t/couldnt-find-target-container-hbspt-form-xxx/11963)

<div class="topic-metadata">

**Author:** [@system](https://community.hubspot.com/u/system)\
**Replies:** 7\
**Last updated:** [August 6, 2018, 2:16pm UTC](https://community.hubspot.com/t/couldnt-find-target-container-hbspt-form-xxx/11963 "2018-08-06T14:16:39Z")

</div>

Hi, I’m trying to add a value to a hidden field with the following script: hbspt.forms.create({ portalId: "xxx", formId: "yyy", target: "#test", onFormReady: function($form) { console.log("test"); $("input\[name…

---

## [Problem with the API to remove or update an engagement](https://community.hubspot.com/t/problem-with-the-api-to-remove-or-update-an-engagement/11428)

<div class="topic-metadata">

**Author:** [@MathildeL](https://community.hubspot.com/u/MathildeL)\
**Replies:** 1\
**Last updated:** [August 6, 2018, 12:08pm UTC](https://community.hubspot.com/t/problem-with-the-api-to-remove-or-update-an-engagement/11428 "2018-08-06T12:08:46Z")

</div>

Hi, I wish to delete engagements using your api, but I cannot understand the meaning of 74 parameter in your sample url. Cannot be the engagement ID because the same url uses it to get created engagement. Example GET U…

---

## [Powerful Related Posts Feature](https://community.hubspot.com/t/powerful-related-posts-feature/8542)

<div class="topic-metadata">

**Author:** [@smithtb25](https://community.hubspot.com/u/smithtb25)\
**Replies:** 13\
**Last updated:** [August 2, 2018, 7:25pm UTC](https://community.hubspot.com/t/powerful-related-posts-feature/8542 "2018-08-02T19:25:10Z")

</div>

Hi everyone, I found this resource provided by Hubspot about how to implement a related posts section, but we’re looking for that to be both auto-populated and manually entered - so if there are 3 related posts, we can …

---

## [New Blog not appearing in any templates](https://community.hubspot.com/t/new-blog-not-appearing-in-any-templates/9709)

<div class="topic-metadata">

**Author:** [@MrCapp](https://community.hubspot.com/u/MrCapp)\
**Replies:** 4\
**Last updated:** [August 2, 2018, 7:12pm UTC](https://community.hubspot.com/t/new-blog-not-appearing-in-any-templates/9709 "2018-08-02T19:12:13Z")

</div>

Hello again. We’re creating some new blogs and creating new templates as well. We’ve created the new blog and created some unpublished sample posts so we can work on the layouts of the templates. However, we are unabl…

---

## [Fixing Min-Width of Blog Posts](https://community.hubspot.com/t/fixing-min-width-of-blog-posts/9706)

<div class="topic-metadata">

**Author:** [@MegatPrivy](https://community.hubspot.com/u/MegatPrivy)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 7:04pm UTC](https://community.hubspot.com/t/fixing-min-width-of-blog-posts/9706 "2018-08-02T19:04:23Z")

</div>

What’s the best way to adjust the width of a blog post? At the moment, our blog post template has a pretty narrow width, making it difficult to place images next to text when needed. Ideally the width should be the same …

---

## [Author no longer appears on blog post; coding issue](https://community.hubspot.com/t/author-no-longer-appears-on-blog-post-coding-issue/9688)

<div class="topic-metadata">

**Author:** [@bstock98](https://community.hubspot.com/u/bstock98)\
**Replies:** 5\
**Last updated:** [August 2, 2018, 5:41pm UTC](https://community.hubspot.com/t/author-no-longer-appears-on-blog-post-coding-issue/9688 "2018-08-02T17:41:04Z")

</div>

I am having an issue with my blog post template, more specifically a custom module for the blog banner. The banner was a color background before, but after changing the background to an image the blog author no longer ap…

---

## [Pillar Pages: Landing Page, Web Page, or Blog Post](https://community.hubspot.com/t/pillar-pages-landing-page-web-page-or-blog-post/9455)

<div class="topic-metadata">

**Author:** [@bruceayerman](https://community.hubspot.com/u/bruceayerman)\
**Replies:** 3\
**Last updated:** [August 2, 2018, 5:00pm UTC](https://community.hubspot.com/t/pillar-pages-landing-page-web-page-or-blog-post/9455 "2018-08-02T17:00:36Z")

</div>

Should a pillar page be written as a landing page, a web page, or a blog post? Best Regards, Bruce

[Previous page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=653)

[Next page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=655)
