November Happy Hour will be moved to Thursday December 5th.

Delete assets in unknown location

Vote:
 

Hello,

Lets say you have a document you have no idea where it's located. It can be in "For this Page" or in any global assets folder, but you don't know where. You can find the document using the global search, and then you can access it's meta data, but there's no way to delete it or event find it's location. Does anyone know a plugin or other way to actually find the documents location so you can delete it? Or a plugin that adds a delete option to the content currently edited. We use CMS 11 for this site.

Or am i missing something obvious here?

/Jonas

#327541
Aug 15, 2024 11:41
Vote:
 

When you open the document (when you find it using global search), can you see the breadcrumb? 

#327590
Edited, Aug 16, 2024 6:54
Vote:
 

No, that's the problem. The breadcrumb shows "For this page", but no clue what so ever about what page that is. If i could find the page, then i could remove the asset.

#327594
Aug 16, 2024 10:45
Vote:
 

can you click on the "1 item" (as in my screenshot) to see if it leads anywhere? 

#327595
Aug 16, 2024 10:48
Vote:
 

It's possible that would lead me to the page where the asset is saved, but in this case the asset isn't used anywhere so there's no link. Just a text stating "This items isn't used"

#327688
Aug 19, 2024 6:52
Vote:
 

Delete orphaned assets - Quan Mai's blog (vimvq1987.com)

there is not a plugin that I am aware of, but you can potentially use this - either directly or for inspiration of finding the "unused" assets and decide what to do with it.

#327690
Aug 19, 2024 8:44
Vote:
 

We've had this exact problem on a recent client site. A possible solution is to add a "move to trash" item on the Tools menu (which is available once you load the content item into edit mode).

Grzegorz Wiechec has posted some POC code for this: https://gregwiechec.com/2016/04/additional-move-to-trash-command/

#327691
Edited, Aug 19, 2024 10:57
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.