# Hide/Show or Publish/Register

**URL:** https://community.glideapps.com/t/hide-show-or-publish-register/33717
**Category:** Ask for Help
**Created:** [October 29, 2021, 7:46am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717 "2021-10-29T07:46:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [October 29, 2021, 7:46am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/1 "2021-10-29T07:46:32Z")

</div>

Hi all

Is it possible in Glide to hide a publication or to decide to register it to publish it later.  
Also, can we program a publication?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 29, 2021, 7:49am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/2 "2021-10-29T07:49:55Z")

</div>

Yes, you can use visibility conditions for this.  
Just include a date/time column for the publish date, and then set the visibility where the publish date is on or before today.

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [October 29, 2021, 8:14am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/3 "2021-10-29T08:14:03Z")

</div>

Ok, Thank you.  
But how to show the publication for three days for example or if the user cannot publish more than x posts?

Should l for the first case set two columns and for the second a “max posts” column with l guess a rollup to count the posts?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 29, 2021, 8:43am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/4 "2021-10-29T08:43:13Z")

</div>

> [@jabid](#):
>
> Should l for the first case set two columns and for the second a “max posts” column with l guess a rollup to count the posts?

Yes, that’s the idea. It’s just additional logic.  
I would probably move this logic into the GDE rather than trying to do it with component filtering, as that can get a bit messy when you have several conditions.

So maybe something like:

- Create 2 date/time columns for the article - a start date and an end date
- Create the rollup column as you mentioned to determine how many articles a user has created
- Then create an if-then-else column:  
– If Start Date is after Now, then empty  
– If End Date is before Now, then empty  
– If rollup is greater than max posts, then empty  
– Else `true`

Then you can use that single if-then-else column to filter your articles: where if-then-else is `true`

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [October 29, 2021, 9:42am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/5 "2021-10-29T09:42:15Z")

</div>

I did not try yet but that was the process I was trying to “set up”…  
Thanks again…  
BTW, what is GDE ?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 29, 2021, 9:49am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/6 "2021-10-29T09:49:12Z")

</div>

GDE = Glide Data Editor

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [October 30, 2021, 9:50am UTC](https://community.glideapps.com/t/hide-show-or-publish-register/33717/7 "2021-10-30T09:50:07Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
