CMS Development

batjaa
Participante

blog_subscribe is not working as intended

resolver

The `blog_subscribe` hubl code is supposed to generate ajax form but instead it's creating a legacy form which results to a full page refresh and the user can't see the thank you message.

 

my hubl code:

 

```
{% blog_subscribe "blog_subscribe_sidebar" no_title=True %}
```

 

as a reference please checkout https://blog.quartzy.com/3-culture-contaminants-you-hate-and-how-to-save-your-cells

0 Me gusta
1 Soluciones aceptada
gotohubspot
Solución
Miembro

blog_subscribe is not working as intended

resolver

{% blog_subscribe "subscribe_designers_blog" select_blog='default', title='Subscribe to the Designers Blog', response_message='Thanks for Subscribing!', label='Blog Email Subscription', overrideable=False %}

Ver la solución en mensaje original publicado

8 Respuestas 8
gotohubspot
Miembro

blog_subscribe is not working as intended

resolver

Have you tried the code below ? 

{% blog_subscribe "blog_subscribe_sidebar" no_title=True, response_message='Thanks for subscribing!' %}

0 Me gusta
batjaa
Participante

blog_subscribe is not working as intended

resolver

No, because the response_message is by default provided by "than you" or something.

 

If you go to the blog and see the generated code it's not the same as the example output in the docs.

0 Me gusta
gotohubspot
Miembro

blog_subscribe is not working as intended

resolver

go by this link https://blog.hubspot.com/marketing/why-ditch-thank-you-messages-for-pages and try to subscribe, it will take you to another page with thank you message. Does it fits for you?

0 Me gusta
gotohubspot
Solución
Miembro

blog_subscribe is not working as intended

resolver

{% blog_subscribe "subscribe_designers_blog" select_blog='default', title='Subscribe to the Designers Blog', response_message='Thanks for Subscribing!', label='Blog Email Subscription', overrideable=False %}

batjaa
Participante

blog_subscribe is not working as intended

resolver

I had to apply a `response_message` to make it work. Don't know why... :angryface:

0 Me gusta
gotohubspot
Miembro

blog_subscribe is not working as intended

resolver

Good luck, thanks for share. Emoticono feliz

0 Me gusta
wisenlucky
Participante

blog_subscribe is not working as intended

resolver
 
0 Me gusta
wisenlucky
Participante

blog_subscribe is not working as intended

resolver

Sorry to Hijack this thread - dont have permissions to post somehow. 
What's the best way to subscribe to hubspot community post manually? 

If i press "subscribe" on last messge of the post it doesnt always work. if i press "subscribe" to first - same result.

0 Me gusta