How To Truly Delete Pages in MODxページを削除する方法を真にmodx
MODx is an excellent AJAX enabled content management system ajax有効になってmodxは、優れたコンテンツ管理システム , which is leagues ahead of Joomla / Mambo. 、これはリーグを控えjoomla /マンボです。 One of the features of MODx is that pages aren’t fully deleted. modxの機能の1つは、ページが完全に削除されます。 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.”彼の言葉-"明らかにできないことがありますマネージャからのパージ削除された文書を簡単にすることもできます(完全に)からのカテゴリをクリックして、ごみのマネージャは、アイコンが表示されます。 "
Filed under提出されて CMS Software CMSソフトウェア , 、 Enterprise Softwareエンタープライズソフトウェア , 、 Headline Newsニュースの見出し , 、 How Toどのように , 、 Joomla joomla , 、 Mamboマンボ , 、 Open Source Softwareオープンソースのソフトウェア , 、 Webウェブ , 、 Web 2.0ウェブ2.0 | |
| |
RSS 2.0 RSS 2.0を | |
Trackbackトラックバック this Article |この記事|
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |




December 17th, 2007 at 7:42 am 2007年12月17日は7:42アム
Glad to see that you are enjoying MODx.あなたが楽しむのを見てうれしいmodxです。 I have deployed dozens of sites using MODx since 0.9.2.私は数十人の配備0.9.2以降を使用してサイトmodxです。 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.できないことがありますマネージャからの明白なパージ削除された文書を簡単にすることもできます(完全に)からのカテゴリをクリックして、ごみのマネージャは、アイコンが表示されます。 This is the purge command and all deleted documents will no longer be in the tree and cannot be undone.これは、 purgeコマンドは、すべて削除された文書は、もはやにするには、ツリーを元に戻すことはできません。 Alot easier than using phpMyAdmin.よりもはるかに容易でphpMyAdminを使用しています。
Hope this helps,希望これにより、
Jayジェイ
December 18th, 2007 at 10:31 am 2007年12月18日の10:31時
Thanks for the simpler solution.シンプルな解決策てくれてありがとう。