restricting access to edit form
Posted: 11 January 2011 03:29 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  5
Joined  2011-01-09

Hi

I was reading this post
http://barrettnewton.com/forums/viewthread/795/P0/

For logged in members, you can also wrap the entry form with weblog entries tags to restrict access to the current members author id.

I have my edit for working as a new post and edit form ok ( might split them into 2 templates though )
With regard to editing posts, this might be easy but could you tell me..

how do i restrict access to the current members author id?

 

Thanks/

Profile
 
 
Posted: 11 January 2011 03:33 AM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

You can set author_only=“yes” in your safecracker.

Profile
 
 
Posted: 11 January 2011 03:35 AM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  5
Joined  2011-01-09

ah great, thanks so much!

Profile