CMS Development

vjaramillo
Member

Blog Dropdown Filter showing but not working

Hi,

I am trying to set up up a drop-down categories filter for our blog as you can see here.

 

I contacted 'Hubspot Support' and they gave me the code below to use: 

<select id="blog-topics">
	<option>Filter by topic</option>
	{% for topic in contents_topics %}
		<option value="{{ group.absolute_url }}/topic/{{ topic.slug }}">{{ topic.name }}</option>
	{% endfor %}
</select>

As you can see the drop-down displays but it does not work when a category is selected. I assume some code is missing in order to make the drop-down work but I have searched and not found anything.

 

Thanks for your help!

0 Upvotes
3 Replies 3
karensantana
Member

Blog Dropdown Filter showing but not working

Hello! I saw that you fixed! 🙂 I'm facing the same problem. How did you accomplish it?

0 Upvotes
vjaramillo
Member

Blog Dropdown Filter showing but not working

0 Upvotes
karensantana
Member

Blog Dropdown Filter showing but not working

Thank you!

0 Upvotes