I’ve been playing around with different ideas and looking on forums and the wix site, however I still can’t seem to find how to do this.
I have different “postings” that I want my users to be able to see. Each “posting” is assigned to a certain person, however they do not make their own. The inability to change the Owner of the post makes this much harder of a task.
I don’t have any code on separating the posts, just calling upon the users data. See Below:
import wixUsers from ‘wix-users’;
let user = wixUsers.currentUser;
let userId = user.id; // “r3cme-6fem-485j-djre-4844c49”
let isLoggedIn = user.loggedIn; // true
user.getEmail()
.then( (email) => {
let userEmail = email; // “user@something.com”
} );
This is what I currently have for gathering the users data.