I’m new to hubspot and trying to make a new design of a homepage from a template I found in the hubspot marketplace. “Alande Homepage”
I’m trying to get the recent blogpost show but they don’t appear on the live page. https://www.jobassigner.com/teestest
But looks to be working in edit mode:
This should definitely work. Seems like caching issue. On your template, click “Preview” > “Live preview with display options” then caching will be removed and it will appear.
Thank you @mac000z, I just wanted to make sure css wasn’t hiding the posts. Could you please create a new page based off of your template and see if it’s working on the new page? I have seen this issue before where a change is made to the page level and then a template change is made and doesn’t update the page automatically. Usually, this happens after the page is published. So, try a new page and let us know what happens.
Did you go to the page editor for that page and set up the module? You’d want to make sure that the correct blog is selected and save your settings. sometimes resaving the module or changing the default content can shake modules loose when this happens.
You could also try creating your own rss module. There is a HubL function that does the same as the module, only allows you to control the markup.
Since you are using the new design manager you can just create custom module and paste this in the html area:
{# change 'default' if not default blog. Use blog id from blog dashboard url. All tokens from blog listing page content forloop will work in this loop. #}
{% set rss_posts = blog_recent_posts('default', 3) %}
{% for post in rss_posts %}
<div class="post-title">{{ post.name }}</div>
<a href="{{ post.absolute_url }}">post-link</a>
<img src="{{ post.post_list_summary_featured_image }}" alt="{{ post.featured_image_alt_text }}">
{% endfor %}
Also, try using the blog rss module on a different template. It is possible that some on your template is interfering with the module’s markup.
Hi,
thank you for your help, @tjoyce We tried creating a new page but that did not work either. @Jsum We did go ahead and worked from another template and everything worked out so there was no problem with the standard RSS listing function.
We tried to add a custom moduble based on your code and that did not work
We have now decided to work from a different template and we got that to work so there might be some problem with the CSS of the way that other template was coded.
But it is not a problem for us anymore.
Thank you again for all your input and help.