Couple of gallery delete issues

iamtimbo
@iamtimbo
7 years ago
301 posts
Have noticed a couple of deleting issues in the Gallery. Firstly, deleting an image from the image detail page doesn't delete it. The reload following the failed delete is the right page, but is missing the profile_header part.

Second is more of a functionality request; if you hit delete from the Gallery edit page (where you can add/remove images), you're not required to confirm. Hit delete and it's gone....for good. Could there be an 'are you sure?' Confirmation dialogue?
updated by @iamtimbo: 12/26/17 02:47:54AM
michael
@michael
7 years ago
7,714 posts
delete moves the item into the Recycle Bin, you can undelete it from there.
DASHBOARD -> RECYCLE BIN

Deleting it from the detail page is working for me. Which skin? Are you up to date with the latest stuff from the marketplace?
iamtimbo
@iamtimbo
7 years ago
301 posts
I'm in a clone of Slate. Utterly forgot about recycle bin - never had to use it before. Think I'm pretty much up to date.

EDIT: I thought I was up to date but had missed 6.1.1. Updating now and will check again.
updated by @iamtimbo: 09/12/17 11:50:43PM
michael
@michael
7 years ago
7,714 posts
Slate's not available anymore, been retired. Could be something connected to the skin. Ok if I login and add something, then delete it to see whats going on?
iamtimbo
@iamtimbo
7 years ago
301 posts
Go for it!
michael
@michael
7 years ago
7,714 posts
A video of me walking through the problem. Not understanding it sorry. :(
zip
delete_issue.mp4.zip  •  31.4MB

michael
@michael
7 years ago
7,714 posts
This might be what you're saying:
http://www.ourtownstory.co.uk/gallery/template_compare/id=85

Previously:
{jrCore_item_list_buttons module="jrGallery" item=$item}
was changed to
{jrCore_item_update_button module="jrGallery" profile_id=$item._profile_id item_id=$item._item_id}
{jrCore_item_delete_button module="jrGallery" profile_id=$item._profile_id action="`$murl`/delete_save/`$item.profile_url`/`$item.gallery_title_url`"}

Its not on the item detail page, but the link does look like its ends up on the gallery list page which is setup without a header.
http://www.ourtownstory.co.uk/gallery
updated by @michael: 09/13/17 09:06:14PM
iamtimbo
@iamtimbo
7 years ago
301 posts
That could be it - I'll delve deeper there. Thank you for looking!

By the way, in the last week my menu items have acquired notification numbers for some reason that I'm struggling to understand!
IMG_4469.PNG.png
IMG_4469.PNG.png  •  76KB

michael
@michael
7 years ago
7,714 posts
go to:
ACP -> MODULES -> SITE -> SITE BUILDER -> TEMPLATES -> menu.tpl -> MODIFY
/modules/jrSiteBuilder/templates/menu.tpl

and delete the code that reads
<span class="notifications none">0</span>
It shouldn't be in there and wont be in there in the next version.
notifications.jpg
notifications.jpg  •  66KB

iamtimbo
@iamtimbo
7 years ago
301 posts
Notifications sorted.

I think the delete buttons modification is something @paul came up with a couple of years back. I will continue delving. Starting to make sense...... :)