# CRM dynamic page filtering

**URL:** <https://community.hubspot.com/t/crm-dynamic-page-filtering/85470>\
**Category:** CMS Development\
**Created:** [July 17, 2023, 3:09pm UTC](https://community.hubspot.com/t/crm-dynamic-page-filtering/85470 "2023-07-17T15:09:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamWadey](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/samwadey/32/38459_2.png) [@SamWadey](https://community.hubspot.com/u/SamWadey)\
**Post date:** [July 17, 2023, 3:09pm UTC](https://community.hubspot.com/t/crm-dynamic-page-filtering/85470/1 "2023-07-17T15:09:28Z")

</div>

I have created a module which displays listings of a custom object that we have (job vacancies). In the module, I am only displaying the objects that are at a desired stage, determined by a dropdown property on the object similar to deal stage.

I can see that pages are being created for all objects of this type and was wondering if there is any way to limit which pages are created so that only objects in a desired state have pages created. The only other way around this I can see is to use workflows to create/delete a mirrored version of these objects for the sole purpose of populating the website.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 19, 2023, 5:31pm UTC](https://community.hubspot.com/t/crm-dynamic-page-filtering/85470/2 "2023-07-19T17:31:47Z")

</div>

Hey, @SamWadey 👋 Thanks for reaching out! Were you able to make any progress here? You didn’t mention if you tried using HubL and if statements to control the content. A _ **Very Simple Example** _ might look like this:

```lia-code-sample
{% if object.stage_property == 'desired_stage' %}
 <!-- your page content here -->
{% else %}
 <!-- redirect to a different page or show a custom message -->
{% endif %}

```

Your instinct towards workflow sounds viable, although more set up and complexity are likely involved with this approach.

Talk soon! — Jaycee

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 19, 2023, 5:41pm UTC](https://community.hubspot.com/t/crm-dynamic-page-filtering/85470/3 "2023-07-19T17:41:59Z")

</div>

Hey, @SamWadey 👋 Thanks for your question! Were you able to get this worked out?

If not, have you tried adding `vertical-align: top;` to your label span? It’s a guess, as it’s hard to know without “seeing” the issue on a live page.

Please let us know what worked, and don’t hesitate to let us know if you need other help.

Best,

Jaycee
