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.”在他的话-“它可能并不明显,从经理,但您可以轻松地清除删除的文件(永久)由树按一下垃圾桶的图示,在经理人” 。