We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19328
    • 433 Posts
    I've got a MIGXdb setup following the childresources tutorial with some tweaks to show MoreGallery resources. I can delete resources with the contextmenu and bulk actions in the MIGX grid, but if I do this they are still in the database, with a setting of 'deleted' = 1. When I click the trash can in the manager tree they are permanently deleted. I wonder if there is a way I can permanently delete resources right from MIGX.

    The reason I would want this, is that I use MIGX to manage a list of MoreGallery resources (each one is a gallery/album). On the frontend of the website, I show the 10 last uploaded images (regardless of what album they belong to). I do this by going over the 'moregallery_image' table (which only holds the images from the MoreGallery resources. The MoreGallery resources are stored in the site_content table). As long as a gallery resource is not permanently deleted (removed from the database) the images remain in the moregallery_image table and are shown in the overview of last uploaded images.

    Thanks for any help!
    ----
    MODX Revolution 2.2.10
    MIGX 2.6.4