Here’s what I’m trying to accomplish:
On the front-end of my website, I need a link next to each gallery image that will allow members in my Moderators member group to delete the image. It’s fine if the link goes to the backend’s general Confirm page for deleting gallery images.
I know how to make the link show only to the members I want it to, but I’m having trouble constructing the actual link. It was a piece of cake to do this for regular weblog entries, but I can’t get it to work for gallery items. I found this old code on the forums:
index.php?S=0&C=modules&M=gallery&P=delete_entry_conf&gallery;_id={gallery_id}&entry;_id={entry_id}&cat;_id={cat_id}which looks promising…but it’s from 2006 and when I try it now (replacing the variables with my own IDs), it just returns me to the View Category page.
Anyone know how I can code a link to delete a gallery item?
(and before anyone asks, no, it is NOT feasible for me to simply add a link to View Category in the admin panel, and then let the members find the right image and click delete from there. Most of my categories have dozens of images, a lot of them have hundreds of images, and with the pagination in the admin panel, it’s just an absolute nightmare to try and find the image you want to delete. :/)