Closed (fixed)
Project:
Edit
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
3 Jun 2013 at 20:26 UTC
Updated:
12 Dec 2013 at 16:50 UTC
Jump to comment: Most recent
Is there any way to totally disable Edit on all or some Views?
Comments
Comment #1
RobKoberg commentedThis is why I am at the issues list. Is there some way to only edit a full node view? I am using a customized version of the latest common 3.3-dev. A group homepage has a group node, which I want editable by group admins, but I don't want the node teasers (group content) editable. Any way to to disable?
I am not seeing anything in hook_edit_editor_info_alter or hook_edit_editor_metadata_alter. I also tried to see if there is anything I can do in $(document).on('quickedit', function (event, status) { });
I am checking perms to see if the user has edit rights and display the link if so. There I could set a custom link and could trigger the edit behavior, but it still does not seem possible.
I have tried a test to see if I could just target the node I want in edit.js, like so:
but still, the whole body (all teasers) is editable.
Any way to do this?
Comment #2
wim leersI've added the following documentation:
http://drupalcode.org/project/edit.git/commit/8df190f