Introduction

Sometimes it is necessary to trash an item, that is effectively hide it from the front end.  What happens is that the item is relocated to the 'trashed items'.  Later if you try to create an item of the same type and same name, then when you try save it then you will get a message such as 'item of same alias already exists'.
So there becomes a need to be able to find the trashed item and either 'restore' it or permantly remove it from the trashed items.

This article illustates how to do this with Joomla Tags which are often used in jDownloads Categories and Downloads as another way to group items.  It would also apply to Joomla Articles.  It does not happen in jDownloads Categories and Downloads as 'trashing' is not used, that is delete has no way back.

Trash Tags

To show the tags then goto the V4 button Home Dashboard then click on V4 button components and then on V4 button Tags component.
Suppose we have created the four tags as illustrated opposite and have decided to 'delete', that is to trash Tag1A. So select Tag1A as shown on the second image opposite.
When an item has been selected you will notice that the V4 actions tab01tab is now active.
V4 initial tagsV4 select tag1a

So use the pulldown and click on V4 button trashas indicated.
This will give a message V4 tag trashed message.

The tag list will now look like the image on the far right.

Actually the Tag1A is still available. This is  to cover the situation when we have trashed an item by mistake.
V4 actions pull down01V4 tag list after trash

Restoring a trashed item

Click on item type such as V4 button Tags component, which is in V4 button components, or if dealing with an article, click onV4 button article button02 which is in V4 button content. Next at top, click onV4 button filter options then click on V4 button select status pulldown.  Next click on Trashed as indicated opposite.

This lists all the Trashed Tag items which in this simple example is just Tag1A as shown below.
V4 trashed items
V4 select status trashed

To restore  select the trashed item as illustrated below.
V4 selet trashed item
Select the  V4 actions pulldow pulldown and click on Publish as indicated in the first image on the right.

The previously trashed item is now restored as shown on the image on the far right. 

Although not shown here, the restored item also retains its original ID value.


V4 select publishV4 restored tag list

Permantly deleting trashed item




Click in V4 filter optons. Next Click on V4 button select status and then click on Trashed as indicated opposite. This brings up a list of the trashed items. They have a Status with the trash symbol V4 trashed symbol. So 'select' by ticking the one that is to be deleted, in this example Tag1A.

V4 selet trashed item

Click on Yes to continue with the deletion  Next click on the V4 button deletebutton.
A warning message such as shown opposite wiil appear. Click on the V4 button yes  to complete the deletion permanently.


V4 select status trashedV4 message warning
If you delete all of the tags then an image such as the one opposite is shown.V4 no tags created yet
ColinM January 2025, May 2025, January 2026, May 2026
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.