This is a portion of a snippet I use to add an “edit me” type link to each entry on a site.
{if member_group=="1" OR member_group=="9" OR logged_in_member_id == "{member_id}"}
<a href="http://{cp_url}?S=0&D=cp&C=content_publish&M=entry_form&channel_id={channel_id}&entry_id={entry_id}">edit</a>{/if}Worked a treat. Now with MSM, is there a way to tweak it to make it site-specific? Our club has a public-facing site (public) and an organizational members-only (member) site. I find that the link works for whichever site I was last using in the control panel, but get a “You are not authorized to access this page” error if I use the link on the other site.
I tried stuffing “&site_id=2” into it but that didn’t seem to work 😊
I have not set up CP masking (I thought that was optional and the admins are co-club members not client/vendor, so I didn’t bother). Is it necessary for some reason?
The sites are different domains, but are really just two subdirectories in my hosting directory.
Current builds of both EE and MSM. Thanks for any pointers or tips.