MODx is an excellent AJAX enabled content management system modx是一個很好的AJAX技術,使內容管理系統 , which is leagues ahead of Joomla / Mambo. ,這是聯賽提前joomla /曼波。 One of the features of MODx is that pages aren’t fully deleted.特點之一是modx網頁不會完全刪除。 They are marked as deleted (displayed as strike-through items ) and they are not displayed on the web.他們被標記為刪除(顯示為嚴打通過的項目 )和他們是不會顯示在網站上。 However they still remain in the database.不過,他們仍然在數據庫中。 This is a great feature to prevent accidental deletion.這是一個偉大的功能以防止意外刪除。 However sometimes you really need to delete pages to reduce the clutter and prevent conflicting aliases.不過,有時你真的需要刪除的頁面,以減少雜波和防止衝突的別名。 Here is how you can truly (and irrevocably) delete pages from the database.這裡是你如何能夠真正(和不可逆轉地)刪除的頁面從數據庫中。

You will need to login to mysql using mysql command line or phpMyAdmin.您將需要登錄到MySQL中使用MySQL的命令行或phpmyadmin 。
Steps:步驟:
1. 1 。 Find the id of the page you want to delete (provided within bracket).找到的ID網頁您要刪除的(括弧內為所提供的) 。
2. 2 。 Execute the query:執行查詢:
delete from modx_site_content where id = your_id 刪除從modx_site_content那裡的ID = your_id

Note: You can also delete using the page title:注意:您也可以刪除使用網頁標題:
delete from modx_site_content where pageTitle = ‘ page_title ‘; 刪除從modx_site_content那裡pagetitle = ' page_title ' ;

Disclaimer: Use the above at your own risk.免責聲明:使用上述需要您自擔風險。 You may lose data if you are careless.你可能會丟失數據如果您是不小心。

Jay (see comment below) gave a much better and simpler solution.傑伊(見下文)了一個更美好和更簡單的解決辦法。 In his words - “It may not be obvious from the manager but you can easily purge deleted documents (permanently) from the tree by clicking on the Garbage Can icon in the manager.”在他的話-“它可能並不明顯,從經理,但您可以輕鬆地清除刪除的文件(永久)由樹按一下垃圾桶的圖示,在經理人” 。