muselink.ch is a site/platform allowing museums to display exhibits of artworks ans other items.
If visitors are members, they can create their own private collection (CPT "Membre") of items (CPT "Objet") : which is the functionality I am trying to develop at the moment
I followed the instructions of a support ticket I had submitted 4 years ago, entitled "Make user able to create her own Collection (one) of Artworks (many) View". Back then, I was developing that functionality on a site buit on Elementor.
But now muselink.ch is built on Gutenberg with the Kadence Theme/plugins and Toolset plugins, because it allows multiple content templates for the same Custom types, and powerful dynamic displays...
======
access details removed.
======
The state of the development of the private collection of the user Utilmembre can be seen here :
hidden link
It has several issues, that I am explaining in detail below :
I.- HOW IT SHOULD WORK : (the site is in French)
a) the user, with the role "Membre" is created by the site admin, who sets Username (e-mail) and Password
b) the member user logs in with the credentials given by the admin, and has a user menu "Mon compte de membre", wich is a page displaying the "Créer ma collection" Form (Create my Collection Form), which she submits and is redirected to the homepage
c) then when returns to the "Mon compte de membre" page, she sees the link to her collection (CPT Membre): a view with the filter Member Author = Logged in User
d) her collection displays a view with a custom search and a gallery of items/artworks (CPT Objet) - previously setup as a starter by the admin
e) each item the gallery has a link to delete the item from the gallery
f) conversely, in any exhibit gallery, each item has a link to connect the item to her private collection
NOTE : as long as a user does not have the role of "Membre" AND has not created her collection (CPT Membre) it has no access to any private collection
II.- THE COMPLETED STEPS SO FAR :
a) role "Membre" defined OK
b) CPT "Membre" & Custom Fields group created OK
b) many-to-many relationship Membre - Objet OK
c) page "Mon compte de membre" page created OK
d) Single Content Template for "Membre" created OK
III.- ISSUES :
1.- "Mon compte de membre" page : hidden link
--> the form "Créer ma collection" does not display for user with the role "Membre" ; I tried to setup a Conditional block, but to no avail
--> the View "Liste des Membres" (1 column) does not display for user with the role "Membre" either, even though the filter is "Member Author = Logged in User. I tried to manage the permissions in Tooset Access Control, and also in the User Roles Editor, but to no avail...
1.1.- SIDE NOTE : also for the users with the role "Membre", the header's main Navigation's display is stretched ans w/o drop-down hierarchy (see attached screen shots ) : I also put this issue to the Kadence Theme Support Team.
2.- Single Content Template for CPT Membre "Modèle pour Membres" : hidden link
BTW : the custom search will be completed later, it has only 1 search field for now
--> the gallery of Items (CPT Objet) displays OK, with the exception of the link to delete the item from the collection "Sortir de ma collection" :
____ visible here, when logged in as admin : hidden link
____ not displayed, when logged in as a user with the role "Membre" : hidden link
Well...
Thank you for having red this ticket up to here : I think following a process described 4 years ago might be missing crucial elements, or the functionality could be achieved in another was today. Luo Yang did a really great and patient job then, but I had found another way to set it up, with an Elementor related plugin. Since then I ditched Elementor, which became a real hassle.
Thank you for helping me achieve this private collection functionality.
Best regards,
Francesco De Grandi
hidden link