prin
February 1, 2022, 9:00am
1
Hi everyone,
I would like to create something like this:
I use an RG inside another RG and what happens is this:
As you can see, there are four entries. One on 01 February 2022 and three on 25 December 2021.
I would like the entries posted on the same date to appear under that date only. Right now, I get three copies of 25 December 2021.
What should I do so that all entries posted on 25 December 2021 only appear once?
Thank you.
@prin
You need a this Calendar at first.
Is Full Calendar not giving you enough? Want to have complete customization over your Calendar?
Look no further! I would like to show you a brand new way to create a calendar in your Bubble App using a repeating group and a bit of Javascript.
EVERYTHING IN THIS REPEATING GROUP IS CUSTOMIZABLE
From the text colors, size font, everything is completely customizable just like any other repeating group.
Live Examples:
Preview
Editor
How to accomplish this:
MAKE SURE YOU ARE RUNNIN…
Then inside of this calendar add another RG with images.
Add constraint 2 by created date or whatever date you want.
Created date > or equal ( didn’t find a symbol) Current date : rounded down to day
Created date < Current date : rounded down to day: +(days) 1
That is it!
prin
February 2, 2022, 6:21am
3
@Eugene_West Thank you. I forgot to say in the original post that all entries on this site will be made by the user, so I don’t actually want to display them in a calendar - just want a long list like in the picture in the original post.
I found a post (Group by Field in Repeating Group ) which has a similar problem to mine. How can I do this but with date instead?
Thank you.
hanan1
February 2, 2022, 8:17am
4
Hi @prin !
it’s a simple fix, don’t worry. You just need to group the rows by date and round the full date down to day, like this:
here’s a full video on how I replicated this issue and how it can be fixed:
hope it helps!
prin
February 2, 2022, 9:58am
5
Hello @hanan1 . I followed your instruction. It works now. Thank you sooo much!!! The video was very clear.
1 Like
prin
February 2, 2022, 10:31am
6
@hanan1 Could I please ask one more thing? Everything works fine, but now when displaying all the entries, the oldest one is at the top. I would like the newest one to be at the top. I tried sorting by date using both “yes” and “no” in “Descending”, but the oldest date is still on top. What should I do?
Thank you again.
hanan1
February 2, 2022, 10:54am
7
@prin Sure, you just need to sort the grouping itself by date > descending:
it works, see how the ones I added today are on top?
anytime!
prin
February 2, 2022, 10:58am
8
It works now! Thank you again @hanan1 . This is new knowledge for me.
1 Like
hanan1
February 2, 2022, 11:34am
9
glad I could help almost everyone discovers something new in Bubble everyday don’t let that scare you and keep it up!
1 Like
system
Closed
April 12, 2022, 9:00am
10
This topic was automatically closed after 70 days. New replies are no longer allowed.