Patch to add edit links under each picture

ebenblues - June 13, 2009 - 15:32
Project:Simple Gallery
Version:6.x-1.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Here's a patch that adds an "Edit" link below each thumbnail in a simplegallery (if the logged in user has permission to edit the node type). The edit link goes to the node editor screen. This change helped me out because I wanted to allow the site owner to edit/delete the picture gallery pics, but I didn't want to give him "administer nodes" access to prevent him from accidentally deleting other parts of his site (like pages). Hope this helps.

AttachmentSize
edit-links.patch1.49 KB

#1

ComputerWolf - August 31, 2009 - 11:35
Status:active» fixed

Thanks and added in 6.x-1.5! :)

#2

System Message - September 14, 2009 - 11:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.