Hello,
I’m having difficulties creating my blog.
I created the profile page where the current user can write a post, but they must choose a theme in order to post. I managed to set this up, and the repeating group (RG) below correctly displays the posts along with their themes.
However, I also created dedicated pages for each theme. For example, for the “Health” theme, I created a page with basic information where the current user can post directly, and the posts will have the theme “Health.”
The problem I’m facing is that I can’t configure the RG on the “Health” page to display both the posts published on that page and the posts published on the user profile page that have the theme “Health.”
In short, I would like the “Health” page to show all posts with the Health theme, and if possible, I’d like the page to automatically reference the “Health” theme.
I’ve tried several solutions. I created a dedicated data type for themes with fields name and image, where each row corresponds to a theme (e.g., name = Health, image = health image). The solutions I found suggested setting the RG constraint as Do a search for Theme with the constraint name = “Health” typed manually. However, this does not work at all, and I’m out of ideas, I admit. Thank you for your help.
-
I do have a Post data type with a field
themeof type Theme (data type). -
I also created a Theme data type with fields
nameandimagecorresponding to each theme. -
I already tried setting the RG type to Post, with the constraint
Do a search for Themeandname = “Health”manually typed, which didn’t work. -
I also applied this formula in the Post button at the top of the page, which didn’t work either.
-
In preview, I see “list of posts 0”, which indicates the RG isn’t returning anything.