Hi,
I am building (Elementor & Toolset) a site for an Art Museum with the following CPTs : (the site is in French, so I give you both languages bellow)
- Exhibits | Expositions
- Art Works | Oeuvres
- Exhibit | Exposition is in a ONE TO MANY relationship with Art Work | Oeuvre
For each Exhibit, it's Art Works are displayed in a View with a Custom Search.
Users are tracked via the Hubspot CRM Plugin, as soon as they fill out a Form (Contact, Newsletter, Membership or MyCollection), or leave a comment to one of the Art Works, or to a Blog Post. Thus, there is a way to know not only whomis the current user, but also if she is a Member or if she has bought the "Favorite" extra feature described below.
I want any logged in User (current user) to be able to create her own Favorite Art Works Series, and display it with a similar View with a Custom Search.
I see the following strategy, but do not know how to achieve it:
- attach a "Put into Favorites" Button to each Art Work
- It would trigger the writing (how?) of the logged in username into a "FavoriteOwner" Custom Field (what kind?) of that Art Work
- than a View has to be created with the current user as the View filters, and the "FavoriteOwner" as the Art Works filter - which is to be equal to the current user
- and a trigger, for the displaying the User's favorite page with the View, has to be set somewhere, maybe in the Main Menu, only visible if the User is logged in.
- similarly, a Slideshow of the User's Favorite Art Work Series could be created and triggered.
That's the Idea, but I am not clear about how this has to be done, especially how to connect the current user to the Art Work CPT, and how to check if the current user is eligible to use the "Favorite" extra feature (has to be a Member or bought the feature).
On the site, to see the Exhibit page with the View, go to :
hidden link
and click the "Recherche des oeuvres" button.
If you click the "Voir défiler l'exposition" button, you will see a Slideshow.
If you click any Art Work displayed in the View, it will take you to it's Detail page, with a larger display (including zoom lense on hiver), and detailed descriptions of it's characteristics. This is where the "Put into Favorite button would be most adequate to be, since this page is an Elementor Template for Single Art Work | Oeuvre.
You can access the site admin : (it is a staging site on Cloudways)
hidden link
with the following temporary credentials :
Thank you for your feed back and your advice on how to create this functionality in the most effective way.
Tooset is an amazing tool : it has allowed me to build a pretty interesting site sofar, and I should be able to resolve this issue with your help.
Best regards,
Francesco De Grandi