[Resolved] Can’t display link for editing Post Form
This thread is resolved. Here is a description of the problem and solution.
Problem:
Subscribers cannot see the link to an edit form, even though in Access they are given rights to edit the post type in question.
Solution:
They are able to edit the posts in the backend, but they also need to be given rights to use the edit form (subscribers don't have such rights by default) at Toolset > Access Control > Forms.
This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 2.37 hours from now. Thank you for your understanding.
I already made my Post Forms for "Teams": hidden link
Here is my Post Form Edit for "Teams" hidden link
Here is my Layout-Template for "Teams" hidden link
Here is the working Backe-End Preview of this Layout with already working editing link hidden link and the linked content Form hidden link
Here is my View for the List of Teams: hidden link with the post-link inside the View's content hidden link
And here is the FrontEnd list of Teams: hidden link
THIS IS WORKING FINE
MY PROBLEM: When I click at one of the Teams then I want to see the Post Form Content with working editing link: hidden link
BUT I see just Post Form Content WITHOUT EDITING LINK: hidden link
I'm trying to solve this problem already a second day and I'm quite lost – I need to solve this issue until tomorrow. So that's why prefer to give you my Site Access. I'm sure that for you it will be easy to find the solution and then to explain it to me.
I visited your site, and went to a team post at hidden link
There is an edit link to edit the post at the top of the page (in red), and clicking it works, takes me to the same URL with the required layout_id URL parameter, and displays the edit form.
you're right – this link is working for me and you (as the administrators) BUT it doesn't work for a subscriber role... and I don't know why. As a subscriber (and also as the author of the post), I can't see any editing link... please look at this:
when you log in here: hidden link as the user: softpoint.chef@gmail.com with the password: sEQJtj12g0ZmVQD6ZecAgSr then go at this link: hidden link (it is the list of the teams made by the user softpoint.chef) then click at one of the team's link/post and then you will see that e. g. here hidden link there is no link for editing the post/team.
the login and password for the subscriber user didn't work, but no matter, the issue is that by default subscribers don't have rights to edit posts (see screenshot).
I expect that if you bring the post type under Access control and grant permission to edit own posts they should then see the edit post links.
sorry, the right password is: sEQJtj12g0ZmVQD6ZecAgSrB , the rest (user-name and login link) is the same. Please check it. Thank you.
I was trying to make your suggested solution in Toolset Access: hidden link Role "Návštěvník" mean "Subscriber" – this is a role of the user "softpoint.chef" - the author of these post.
BUT your suggestion unfortunately didn't work for me. You already have also administrator's access – please check it by yourself.
I can see the problem, and I'm trying to get it working on a local test site of mine, and I can't, there seems to be a problem with the toolset-edit-post-link shortcode not observing Access rules.
I found I could only display the edit post link for roles such as author and above, regardless of what I set in Access.
For now you would need to change your set-up so that your users have an author role.
I'm escalating this so that it can investigated further, and I'll let you know what is found.
I please you to find the solution as soon as possible
because for now my default WordPress registration role is a "subscriber" and I don't know how to set up automatically to "contributor" even though I have these settings: hidden link (Spolupracovník means Contributor).
Even after this default registration role's setting, all new users are set automatically as "subscribers" – so it means that I have to manually change their roles to contributors to be able to edit their "Teams" posts.
I can't continue in this way... I hope you understand it.
Sorry, I just looked back through this thread to see what I'm missing, and it is something very simple.
The Access rules are working on the backend but not on the frontend forms because... you need to go to Toolset > Access Control > Forms and given permission for subscribers to use the edit form.
It looks like because of your screen size there is a horizontal scrollbar and you didn't update the settings required for the form in question, see my screenshot.