Better Trash

Can Better Trash delete all types of trashed items in Joomla?

1 year 6 months ago #87032

Jip Jonker's Avatar Jip Jonker

Does Better Trash work on all trashed items, even Joomla custom fields/groups and trashed items in added extensions that are not in the Joomla core?

Is there a way to globally remove all trashed items? Or could we just set the system plugin to autoclean every (1) day and way one day for all items to be removed from the trash? And then set it back to a more reasonable number of days.

Kind regards,
Jip

1 year 6 months ago #87041

Peter van Westen's Avatar Peter van Westen Admin

Better Trash pretty much add buttons to the list views where items can have a trashed state.
The first is to change the existing Trash button to change the search filter to state trashed, so it lists all trashed items.
Once in there it adds a button to delete all those trashed items. Which pretty much means: select all items and delete them.

So no, it does not offer a way to delete all trashed items of all possible item types in Joomla (your database). It is limited to the items of the list view you are on.

1 year 5 months ago #87062

Jip Jonker's Avatar Jip Jonker

Hi Peter, thanks for you info. So basically this plugin (button above lists) saves us some clicks when we want to clean the trash in the component (list view) we are on. That's excellent of course 😉

But what about the auto cleanup function? If we enable this does this clean all trashed items it can find? So this would actually sort of a global clean periodically? How does that work?

1 year 5 months ago #87065

Peter van Westen's Avatar Peter van Westen Admin

Yes, Better Trash keeps track of all items you trash. It will then delete them from the different databases when they 'expire'.

There isn't a way (at the moment) to trigger that separately ignoring the TTL setting.

1 year 5 months ago #87066

Jip Jonker's Avatar Jip Jonker

So this means only items trashed AFTER installing Better Trash will be removed by the auto clean? Because they first have to be 'recorded' by the plugin as trashed? So this wil not remove items trashed before installing the plugin?

1 year 5 months ago #87067

Peter van Westen's Avatar Peter van Westen Admin

Correct.

1 year 5 months ago #87068

Jip Jonker's Avatar Jip Jonker

OK thanks for explaining! 👍