My situation is as following:
I have 3 CPT's called:
1) Engineer
2) Offer
3) Place
Engineer and Place have a m2m relationship.
The Offer CRED form has a post reference of Place.
I want my engineers to receive all the offers that they are connected to through place.
So, Engineer A has a relationship with Place A and Place B.
When a website visitor submits an Offer form and selects Place A or B, Engineer A has to see this offer.
This already works! But there is an issue:
When a website visitor submits the post, the Offer post is created on the back-end and has the status submitted.
Strange thing, on the front-end, the engineer doesn't see the post.
If i go into wp-admin, open the offer post en re-save it, the engineer sees the post!
Is there a way to fix this? I don't want to log in every time after a website visitor submits a form to resave it.
Hello. Thank you for contacting the Toolset support.
Well - this is strange. Can I have problem URL using which you are creating the new offer post and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Well - I followed the step you mentioned and I stuck at the step
6) Log out the johndoe1 user and login under wp-admin with the credentials provided in the previous message.
Actually, I'm using different browsers, so in one browser I'm logged in as Admin and in another browser, I filled the form and logged in as johndoe1 user, but as soon as I submit the form and go to backend in another browser where I'm logged in as Admin and click on update button to update the post in backend which I submitted using form from frontend, I still do not see that post in the Filtered View: section.
Well - I just changed the filter on your view as shown with the following image:
=> hidden link
I've added the post relationship filter and selected the relationship "Gemeente relationship" to filter by shortcode attribute.
Select posts in a Gemeente relationship that are related to the Post with ID set by the shortcode attribute placereference.
eg. [wpv-view name="view-name" placereference="123"]
And now I can see with your page - both view's displaying accurate information when you loggedin using user johndoe1 .
=> hidden link