I have a strange issue I can't find reference to anywhere on Google!
The following code allows me to display a Safecracker form to edit an entry. When I click save I get the error below.
{exp:safecracker
channel="member_news"
return="members/profile#tab3"
author_only="yes"
form_class="uniform"
error_handling="inline"
entry_id="{segment_4}"
}
<p>
<label for="title">Title</label>
<input name="title" type="text" value="{title}">
<p>
<p>
<label for="title">Summary</label>
{field:member_news_summary}
<p>
<p>
<label for="title">Content</label>
{field:member_news_content}
<p>
<input type="submit" value="Submit">
{/exp:safecracker}
This is the error:
The form you submitted contained the following errors
safecracker_author_only
I find this strange because I am the author of the entry, it wont even show the edit form to other entries I am not the author of, so author_only="yes" seems to be working with that respect. But clicking save its as if it then thinks I am not the author.
Removing author_only="yes" will allow me to edit AND save, any form, which is obviously bad.
So I am not sure what the issue is. Using v 2.6.1