How To Truly Delete Pages in MODx كيف يمكن حذف صفحات حقا في modx
MODx is an excellent AJAX enabled content management system Modx ممتاز اجاكس مكنت نظام ادارة المحتوى , 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. وسوف تحتاج الى الدخول الى الخلية الخلية باستخدام سطر الاوامر او phpmyadmin.
Steps: الخطوات التالية :
1. Find the id of the page you want to delete (provided within bracket). العثور على رقم تعريف من الصفحه التي تريد ان تحذف (المقدمة ضمن شريحة).
2. Execute the query: تنفيذ استفسار :
delete from modx_site_content where id = your_id حذف من حيث الهوية modx_site_content = 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 برمجيه , ، Enterprise Software المشاريع والبرامج , ، Headline News أهم الانباء , ، How To كيف , ، Joomla , ، Mambo مامبو , ، Open Source Software برامج المصدر المفتوح , ، Web شبكة , ، Web 2.0 الويب 2،0 | |
| |
RSS 2.0 ار اس اس 2،0 | |
Trackback this Article | هذه المادة |
Email this Article ارسل هذه المادة
You may also like to read ويمكنك ايضا ان تقرأ |





December 17th, 2007 at 7:42 am كانون الاول / ديسمبر 17th ، 2007 في الساعة 7:42
Glad to see that you are enjoying MODx. سعداء ان نرى ان تتمتع انت modx. I have deployed dozens of sites using MODx since 0.9.2. وقد نشر العشرات من المواقع باستخدام modx منذ 0.9.2. 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. وهذا هو تطهير للقيادة وحذف جميع الوثائق لن يكون في الشجرة ولا يمكن التراجع. Alot easier than using phpMyAdmin. الكثير اسهل من استخدام phpmyadmin.
Hope this helps, ويساعد هذا الامل ،
Jay جاي
December 18th, 2007 at 10:31 am كانون الاول / ديسمبر 18th ، 2007 في الساعة 10:31
Thanks for the simpler solution. شكرا لابسط حل.